From 51666e9993a2f4677f02d55c3fdb54288045eca6 Mon Sep 17 00:00:00 2001
From: cmlim0070 <87525734+cmlim0070@users.noreply.github.com>
Date: Sat, 4 Jan 2025 00:26:34 +0900
Subject: [PATCH] =?UTF-8?q?design=20:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8&?=
=?UTF-8?q?=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85=20=ED=8E=98=EC=9D=B4?=
=?UTF-8?q?=EC=A7=80=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=86=8C=ED=8F=AD=20?=
=?UTF-8?q?=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/RegisterPage/EmailSection.tsx | 154 +++++++++----------
src/pages/User/Login/LoginPage.tsx | 11 +-
src/pages/User/Register/RegisterPage.tsx | 88 +++++------
3 files changed, 123 insertions(+), 130 deletions(-)
diff --git a/src/components/RegisterPage/EmailSection.tsx b/src/components/RegisterPage/EmailSection.tsx
index 44da2216..2b341754 100644
--- a/src/components/RegisterPage/EmailSection.tsx
+++ b/src/components/RegisterPage/EmailSection.tsx
@@ -27,93 +27,89 @@ export const EmailSection = ({
console.log(isVerifyLoading);
}, [isVerifyLoading]);
return (
-
-
+
+
+
+ {email && isEmailSend && isEmailVerified && (
+
+ ✔ 인증이 완료되었습니다.
+
+ )}
+
+
+
+
+
+ {isEmailSend && (
- {email && isEmailSend && isEmailVerified && (
-
- ✔ 인증이 완료되었습니다.
-
- )}
-
+
-
-
-
- {isEmailSend && (
-
- )}
-
+ )}
);
};
diff --git a/src/pages/User/Login/LoginPage.tsx b/src/pages/User/Login/LoginPage.tsx
index 3742f78e..fbfd55fe 100644
--- a/src/pages/User/Login/LoginPage.tsx
+++ b/src/pages/User/Login/LoginPage.tsx
@@ -4,6 +4,7 @@ import { EmailInput } from '@/components/Common/Input/EmailInput';
import { PasswordInput } from '@/components/Common/Input/PasswordInput';
import { useToastStore } from '@/hooks/useToastStore';
import { useLogin } from './../../../hooks/useLogin';
+import { Link } from 'react-router-dom';
// const KAKAO_CLIENT_ID = import.meta.env.VITE_JAVASCRIPT_KEY as string;
// const REDIRECT_URI = 'http://localhost:5173/login/kakao';
@@ -31,10 +32,6 @@ export const LoginPage = () => {
mutate({ email, password });
};
- const handleNavigateRegister = () => {
- navigate('/register');
- };
-
return (
@@ -60,12 +57,12 @@ export const LoginPage = () => {
diff --git a/src/pages/User/Register/RegisterPage.tsx b/src/pages/User/Register/RegisterPage.tsx
index b07fedaf..ad16da63 100644
--- a/src/pages/User/Register/RegisterPage.tsx
+++ b/src/pages/User/Register/RegisterPage.tsx
@@ -23,51 +23,51 @@ export const RegisterPage = () => {
};
return (
-