diff --git a/Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlayFindingGame.tsx b/Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlay.tsx similarity index 74% rename from Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlayFindingGame.tsx rename to Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlay.tsx index 327c0fc..5ac33c5 100644 --- a/Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlayFindingGame.tsx +++ b/Caecae/src/components/PhoneNumberOverlay/PhoneNumberOverlay.tsx @@ -2,7 +2,11 @@ import { ChangeEventHandler, useEffect, useState } from "react"; import { action } from "../../jobs/Overlay/OverlayWork"; import { store } from "../../shared/Hyundux"; -const PhoneNumberOverlayFindingGame = () => { +interface PhoneNumberOverlayProps { + type: "findCasper" | "raceCasper"; +} + +const PhoneNumberOverlay = ({ type }: PhoneNumberOverlayProps) => { const [timeLeft, setTimeLeft] = useState(3 * 60); // 3분을 초 단위로 변환 const [phoneNumber, setPhoneNumber] = useState(""); const [check, setCheck] = useState(false); @@ -77,16 +81,24 @@ const PhoneNumberOverlayFindingGame = () => { return (
전화번호 입력
-전화번호
+ {type === "findCasper" ? ( +전화번호
{ />+
개인정보 동의
1. 개인정보의 처리 목적
@@ -137,18 +149,22 @@ const PhoneNumberOverlayFindingGame = () => {
응모 완료가기
-응모 완료하기
+개인정보를 입력해주세요
+전화번호 입력
-전화번호
- -- 개인정보 동의 -
-
- 1. 개인정보의 처리 목적
-
- 개인정보를 다음의 목적을 위해 처리합니다. 처리한 개인정보는
- 다음의 목적 이외의 용도로는 사용되지 않으며 이용 목적이 변경될
- 시에는 사전 동의를 구할 예정입니다.
-
- 1. 개인정보의 처리 목적
-
- 개인정보를 다음의 목적을 위해 처리합니다. 처리한 개인정보는
- 다음의 목적 이외의 용도로는 사용되지 않으며 이용 목적이 변경될
- 시에는 사전 동의를 구할 예정입니다.
-
- 1. 개인정보의 처리 목적
-
- 개인정보를 다음의 목적을 위해 처리합니다. 처리한 개인정보는
- 다음의 목적 이외의 용도로는 사용되지 않으며 이용 목적이 변경될
- 시에는 사전 동의를 구할 예정입니다.
-
-
- 개인정보보호법에 따라 귀하의 개인정보를 다음과 같이 - 수집・이용하는데 동의합니다. -
-응모 완료가기
-