From ac408a2291c2d35a54dfd26658309e9681a3ee62 Mon Sep 17 00:00:00 2001 From: hojin Date: Thu, 13 Jun 2024 15:14:11 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20=ED=99=88=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/home/MainHeader.tsx | 2 +- src/components/home/MainPageIndex.tsx | 1 - src/components/home/weekSchedule/WeekSchedule.tsx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/home/MainHeader.tsx b/src/components/home/MainHeader.tsx index 8cb23f8..9cb0165 100644 --- a/src/components/home/MainHeader.tsx +++ b/src/components/home/MainHeader.tsx @@ -6,7 +6,7 @@ const MainHeader = () => { const router = useRouter(); return (
-
+
diff --git a/src/components/home/MainPageIndex.tsx b/src/components/home/MainPageIndex.tsx index 9be3455..8b583a3 100644 --- a/src/components/home/MainPageIndex.tsx +++ b/src/components/home/MainPageIndex.tsx @@ -16,7 +16,6 @@ const MainPageIndex = () => { return (
-
{/* 핸드폰 기본 상단 레이아웃 자리 */} diff --git a/src/components/home/weekSchedule/WeekSchedule.tsx b/src/components/home/weekSchedule/WeekSchedule.tsx index c1bd052..cd4353f 100644 --- a/src/components/home/weekSchedule/WeekSchedule.tsx +++ b/src/components/home/weekSchedule/WeekSchedule.tsx @@ -39,7 +39,7 @@ const WeekSchedule = () => {
{daysOfWeek.map((day, i) => (
Date: Thu, 13 Jun 2024 15:46:47 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=20=ED=9A=8C=EC=9B=90=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20=EB=94=94=EC=9E=90=EC=9D=B8,=EB=A1=9C=EC=A7=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/sign/phase.svg | 3 +++ src/components/sign/signup/EmailVerification.tsx | 13 ++++++++++--- .../sign/signup/PasswordVerification.tsx | 14 ++++++++------ 3 files changed, 21 insertions(+), 9 deletions(-) create mode 100644 public/sign/phase.svg diff --git a/public/sign/phase.svg b/public/sign/phase.svg new file mode 100644 index 0000000..3b778ae --- /dev/null +++ b/public/sign/phase.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/sign/signup/EmailVerification.tsx b/src/components/sign/signup/EmailVerification.tsx index 9180142..d2de116 100644 --- a/src/components/sign/signup/EmailVerification.tsx +++ b/src/components/sign/signup/EmailVerification.tsx @@ -158,9 +158,16 @@ const EmailVerification = ({ onNext }: EmailVerification) => { 3 단계
-
-
- 한번 더 확인이 필요해요. +
+ image +
+
+ 한번 더 확인이 필요해요. +
diff --git a/src/components/sign/signup/PasswordVerification.tsx b/src/components/sign/signup/PasswordVerification.tsx index adad434..4bb6bf4 100644 --- a/src/components/sign/signup/PasswordVerification.tsx +++ b/src/components/sign/signup/PasswordVerification.tsx @@ -55,12 +55,12 @@ const PasswordVerification = ({ onNext, applyValues }: PasswordVerificationProps }, [selectedJob]); const handlePasswordChange = (e: React.ChangeEvent) => { - setPasswordError(false); const newPassword = e.target.value; setPassword(newPassword); + checkValidPassword(newPassword); }; - const checkValidPassword = () => { + const checkValidPassword = (password: string) => { const passwordRegex = /^(?=.*[0-9])(?=.*[a-zA-Z])(?=.*[@#$%^&+=!])(?=\S+$).{8,16}$/; if (!passwordRegex.test(password)) { setPasswordError(true); @@ -99,9 +99,12 @@ const PasswordVerification = ({ onNext, applyValues }: PasswordVerificationProps 3 단계
-
-
- 거의 다 완료되었어요! +
+ image +
+
+ 거의 다 완료되었어요! +
@@ -199,7 +202,6 @@ const PasswordVerification = ({ onNext, applyValues }: PasswordVerificationProps placeholder="비밀번호를 입력해주세요." value={password} onChange={handlePasswordChange} - onBlur={checkValidPassword} />