From 7253e2286b3e88518945e2aa78ddb42f40a40bff Mon Sep 17 00:00:00 2001 From: ajin Date: Mon, 11 Nov 2024 21:49:20 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Fix:=20=ED=94=84=EB=A1=9C=ED=95=84=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=A0=84=EC=B2=B4=EA=B3=B5?= =?UTF-8?q?=EA=B0=9C=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/index.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index c361c98..5a5d560 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -35,11 +35,6 @@ const router = createBrowserRouter([ path: '/', element: , }, - { - path: '/mypage/:userId', - element: , - }, - { path: '/cookie-record', element: , @@ -110,6 +105,10 @@ const router = createBrowserRouter([ path: '/login/redirect', element: , }, + { + path: '/mypage/:userId', + element: , + }, ], }, { From 9e6a578925038ff43803ad2c6623e9682293a454 Mon Sep 17 00:00:00 2001 From: Solbin Jung Date: Mon, 11 Nov 2024 21:50:54 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Feat:=20=ED=9A=8C=EC=9B=90=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20UI=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/RegisterPage/index.tsx | 73 ++++++++++++++++++++++++++++++++ src/routes/index.tsx | 5 +++ 2 files changed, 78 insertions(+) create mode 100644 src/pages/RegisterPage/index.tsx diff --git a/src/pages/RegisterPage/index.tsx b/src/pages/RegisterPage/index.tsx new file mode 100644 index 0000000..ffdcc37 --- /dev/null +++ b/src/pages/RegisterPage/index.tsx @@ -0,0 +1,73 @@ +import { + Box, + Button, + Flex, + Heading, + Input, + Radio, + RadioGroup, + Stack, + Text, +} from '@chakra-ui/react' + +export default function RegisterPage() { + return ( + + + 회원가입 + + + 가입을 통해 더 다양한 서비스를 만나보세요! + + + + + 이름 + + + + + + + 성별 + + + + + 남 + + + 여 + + + + + + + + 나이 + + + + + + + ) +} diff --git a/src/routes/index.tsx b/src/routes/index.tsx index c361c98..2a5b6a8 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -20,6 +20,7 @@ import PointCancelModal from '@/pages/PointPage/PointCancelModal' import PointFailureModal from '@/pages/PointPage/PointFailureModal' import PointRedirectPage from '@/pages/PointRedirectPage' import ProfileQuestionPage from '@/pages/ProfileQuestionPage' +import RegisterPage from '@/pages/RegisterPage' import { ProtectedRoute } from './ProtectedRoute' @@ -97,6 +98,10 @@ const router = createBrowserRouter([ path: '/invite/:groupId', element: , }, + { + path: '/register', + element: , + }, ], }, {