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: }, ], }, ]);