From 4a4a27bad10e07b8a5f6d587d3ff65f6d6d50d41 Mon Sep 17 00:00:00 2001 From: YIMSEBIN Date: Wed, 30 Oct 2024 12:58:09 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B7=BC=EB=A1=9C=EA=B3=84=EC=95=BD?= =?UTF-8?q?=EC=84=9C=20path=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/path.ts | 6 ++++++ src/routes/router.tsx | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/routes/path.ts b/src/routes/path.ts index c61941c..896bdb4 100644 --- a/src/routes/path.ts +++ b/src/routes/path.ts @@ -17,6 +17,11 @@ export const EMPLOYEE = { EMPLOYEE_PAGE: '/employee-my-page', } as const; +export const CONTRACT = { + EMPLOYER: '/employer-contract', + EMPLOYEE: '/employee-contract', +}; + const ROUTE_PATH = { HOME: '/', RECRUIT: '/recruit', @@ -31,6 +36,7 @@ const ROUTE_PATH = { MY_ACCOUNT, REGISTERSIGN: '/registersign', REGISTERCOMPANY: '/register-company', + CONTRACT, } as const; export default ROUTE_PATH; diff --git a/src/routes/router.tsx b/src/routes/router.tsx index 34181fe..1199648 100644 --- a/src/routes/router.tsx +++ b/src/routes/router.tsx @@ -17,6 +17,8 @@ import EmployerMyAccount from '@/pages/myAccount/employer'; import EmployeeMyPage from '@/pages/employee/myPage/EmployeeMyPage'; import RegisterSign from '@/pages/registerSign/RegisterSign'; import RegisterCompany from '@/pages/registerCompany/RegisterCompany'; +import EmployeeContract from '@/pages/contract/EmployeeContract/EmployeeContract'; +import EmployerContract from '@/pages/contract/EmployerContract/EmployerContract'; export const router = createBrowserRouter([ { @@ -47,6 +49,8 @@ export const router = createBrowserRouter([ { path: ROUTE_PATH.MY_ACCOUNT.EMPLOYER, element: }, { path: ROUTE_PATH.REGISTERSIGN, element: }, { path: ROUTE_PATH.REGISTERCOMPANY, element: }, + { path: ROUTE_PATH.CONTRACT.EMPLOYEE, element: }, + { path: ROUTE_PATH.CONTRACT.EMPLOYER, element: }, ], }, ]);