Skip to content

Commit

Permalink
feat #11: Add Router to Login Page
Browse files Browse the repository at this point in the history
  • Loading branch information
sean2337 committed Jul 9, 2024
1 parent b78e4d2 commit c643cba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.
18 changes: 0 additions & 18 deletions src/app/login/KakaoLogin.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions src/app/login/KakaoLoginRedirection.tsx

This file was deleted.

5 changes: 5 additions & 0 deletions src/router/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Fragment } from "react";
import { createBrowserRouter, RouterProvider } from "react-router-dom";

import MainPage from "@/app/MainPage.tsx"; /* FIXME - 실제 메인 페이지 작성 후 대체해주세요. */
import Login from "@/app/login/Login";
import Staging from "@/app/test/Staging.tsx";
import GlobalLayout from "@/layout/GlobalLayout.tsx";

Expand All @@ -14,6 +15,10 @@ const routerChildren = [
path: "/staging",
element: <Staging />,
},
{
path: "/login",
element: <Login />,
},
];

const router = createBrowserRouter([
Expand Down

0 comments on commit c643cba

Please sign in to comment.