Skip to content

Commit

Permalink
Merge pull request #82 from YIMSEBIN/Weekly
Browse files Browse the repository at this point in the history
feat: ๊ทผ๋กœ๊ณ„์•ฝ์„œ path ์„ค์ •
  • Loading branch information
YIMSEBIN authored Oct 30, 2024
2 parents b2f35ed + 4a4a27b commit 684a542
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/routes/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -31,6 +36,7 @@ const ROUTE_PATH = {
MY_ACCOUNT,
REGISTERSIGN: '/registersign',
REGISTERCOMPANY: '/register-company',
CONTRACT,
} as const;

export default ROUTE_PATH;
4 changes: 4 additions & 0 deletions src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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([
{
Expand Down Expand Up @@ -47,6 +49,8 @@ export const router = createBrowserRouter([
{ path: ROUTE_PATH.MY_ACCOUNT.EMPLOYER, element: <EmployerMyAccount /> },
{ path: ROUTE_PATH.REGISTERSIGN, element: <RegisterSign /> },
{ path: ROUTE_PATH.REGISTERCOMPANY, element: <RegisterCompany /> },
{ path: ROUTE_PATH.CONTRACT.EMPLOYEE, element: <EmployeeContract /> },
{ path: ROUTE_PATH.CONTRACT.EMPLOYER, element: <EmployerContract /> },
],
},
]);

0 comments on commit 684a542

Please sign in to comment.