diff --git a/src/App.tsx b/src/App.tsx index 30b7bc0..5b980e5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,7 +18,7 @@ function App() { }> } path={PageRouting["LOGIN"].path} /> } path={PageRouting["SIGN_UP"].path} /> - {!(authData?.isLogedIn) ? } path="*" /> : null} + {!(authData?.isLogedIn) ? } path="*" /> : null} diff --git a/src/data/RoutingData.ts b/src/data/RoutingData.ts index 6af9b19..3b978c6 100644 --- a/src/data/RoutingData.ts +++ b/src/data/RoutingData.ts @@ -4,17 +4,17 @@ type PageRoutingInfo = { } export const PageRouting: Record = { - LOGIN: { path: "login", title: "" }, - SIGN_UP: { path: "signup", title: "" }, - RESET_PASSWORD: { path: "reset-password", title: "" }, - HOME: { path: "home", title: "홈" }, - SCHEDULES: { path: "schedules", title: "일정" }, - SCHEDULES_NEW: { path: "schedules/new", title: "일정 생성" }, - SCHEDULES_EDIT: { path: "schedules/edit", title: "일정 수정" }, - SCHEDULES_DETAIL: { path: "schedules/detail", title: "일정 상세" }, - USER_INFO: { path: "info", title: "사용자 정보" }, - USER_FOLLOWING: { path: "info/following", title: "팔로잉 목록" }, - USER_FOLLOWER: { path: "info/follower", title: "팔로워 목록" }, - SETTINGS: { path: "settings", title: "설정" }, - NOT_FOUD: { path: "not-found", title: "존재하지 않는 페이지" }, + LOGIN: { path: "/login", title: "" }, + SIGN_UP: { path: "/signup", title: "" }, + RESET_PASSWORD: { path: "/reset-password", title: "" }, + HOME: { path: "/home", title: "홈" }, + SCHEDULES: { path: "/schedules", title: "일정" }, + SCHEDULES_NEW: { path: "/schedules/new", title: "일정 생성" }, + SCHEDULES_EDIT: { path: "/schedules/edit", title: "일정 수정" }, + SCHEDULES_DETAIL: { path: "/schedules/detail", title: "일정 상세" }, + USER_INFO: { path: "/info", title: "사용자 정보" }, + USER_FOLLOWING: { path: "/info/following", title: "팔로잉 목록" }, + USER_FOLLOWER: { path: "/info/follower", title: "팔로워 목록" }, + SETTINGS: { path: "/settings", title: "설정" }, + NOT_FOUD: { path: "/not-found", title: "존재하지 않는 페이지" }, } as const; \ No newline at end of file diff --git a/src/ui/page/login/LoginPage.tsx b/src/ui/page/login/LoginPage.tsx index e65f962..6efb49b 100644 --- a/src/ui/page/login/LoginPage.tsx +++ b/src/ui/page/login/LoginPage.tsx @@ -70,12 +70,18 @@ export default function LoginPage() { - -