From 3b18cd6b91a2a038785aca9a5b1d9f702ba27a60 Mon Sep 17 00:00:00 2001 From: Hyeona01 Date: Mon, 6 Jan 2025 19:03:32 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style:=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=A6=AC=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EB=B0=98=EC=98=81=20#145?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Common/Header/B | 0 src/components/Signin/SigninInputSection.tsx | 49 +++++++++++--------- src/pages/Signin/SigninPage.tsx | 22 +++++---- 3 files changed, 40 insertions(+), 31 deletions(-) create mode 100644 src/components/Common/Header/B diff --git a/src/components/Common/Header/B b/src/components/Common/Header/B new file mode 100644 index 00000000..e69de29b diff --git a/src/components/Signin/SigninInputSection.tsx b/src/components/Signin/SigninInputSection.tsx index 0edd48c0..20a7b061 100644 --- a/src/components/Signin/SigninInputSection.tsx +++ b/src/components/Signin/SigninInputSection.tsx @@ -5,6 +5,7 @@ import { useLocation, useNavigate } from 'react-router-dom'; import { validateId, validatePassword } from '@/utils/signin'; import { useSignIn } from '@/hooks/api/useAuth'; import { useUserInfoforSigninStore } from '@/store/signup'; +import BottomButtonPanel from '../Common/BottomButtonPanel'; const SigninInputSection = () => { const navigate = useNavigate(); @@ -57,8 +58,8 @@ const SigninInputSection = () => { }, [idValue, passwordValue]); return ( -
-
+
+

ID

{ */}
-
- + +
+
+

+ Don't have an account? +

+ {/* 회원가입 화면 이동 */} + +
+
-
+
); }; diff --git a/src/pages/Signin/SigninPage.tsx b/src/pages/Signin/SigninPage.tsx index 1aaab24b..541b5eb2 100644 --- a/src/pages/Signin/SigninPage.tsx +++ b/src/pages/Signin/SigninPage.tsx @@ -1,8 +1,8 @@ +import BaseHeader from '@/components/Common/Header/BaseHeader'; import SigninInputSection from '@/components/Signin/SigninInputSection'; import { useUserStore } from '@/store/user'; import { deleteAccessToken, deleteRefreshToken } from '@/utils/auth'; import { useEffect } from 'react'; -import CloseIcon from '@/assets/icons/CloseIcon.svg?react'; import { useNavigate } from 'react-router-dom'; const SigninPage = () => { @@ -19,14 +19,20 @@ const SigninPage = () => { }, []); return ( -
- navigate('/')} - className="fixed top-6 right-6" +
+ navigate('/')} /> -
Sign In
- - {/* */} +
+
+ 이메일로 로그인 +
+ + {/* */} +
); };