Skip to content

Commit f147a07

Browse files
authored
Merge pull request #417 from kakao-tech-campus-3rd-step3/feature/add-member-management-routing#416
[FEAT] ๋™์•„๋ฆฌ์› ๊ด€๋ฆฌ ํŽ˜์ด์ง€ ๋ผ์šฐํŒ… ์ถ”๊ฐ€ (#416)
2 parents 21603dd + f6d11aa commit f147a07

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

โ€Žsrc/app/constants/navigation.tsโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const getNavItems = (role: Role): NavItemData[] => {
1616
{ key: 'applicants', label: '์ง€์›์ž ๊ด€๋ฆฌ', to: '/admin/clubs/:clubId/dashboard' },
1717
{ key: 'clubEdit', label: '๋™์•„๋ฆฌํŽ˜์ด์ง€ ๊ด€๋ฆฌ', to: '/admin/clubs/:clubId/edit' },
1818
{ key: 'form', label: '์ง€์›ํผ ๊ด€๋ฆฌ', to: '/admin/clubs/:clubId/application/form/create' },
19+
{ key: 'members', label: '๋™์•„๋ฆฌ์› ๊ด€๋ฆฌ', to: '/admin/clubs/:clubId/members' },
1920
{ key: 'logout', label: '๋กœ๊ทธ์•„์›ƒ', to: '#' },
2021
];
2122
}

โ€Žsrc/app/constants/routerPath.tsโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const ROUTE_PATH = {
88
APPLICATION_DETAIL: 'clubs/:clubId/applicants/:applicantId',
99
CLUB_EDIT: 'clubs/:clubId/edit',
1010
APPLICATION_FORM_BUILDER: 'clubs/:clubId/application/form/create',
11+
MEMBER_MANAGEMENT: '/admin/clubs/:clubId/members',
1112
},
1213

1314
COMMON: {

โ€Žsrc/pages/Routes.tsxโ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { ApplicationDetailPage } from './admin/ApplicationDetail/Page';
1313
import { ApplicationFormBuilderPage } from './admin/ApplicationFormBuilder/Page';
1414
import { KakaoCallback } from './admin/Login/KakaoCallback';
1515
import { LoginPage } from './admin/Login/Page';
16+
import { MemberManagementPage } from './admin/MemberManagement/Page';
1617
import { AdminSignupPage } from './admin/Signup/Page';
1718
import { ClubApplicationPage } from './user/Apply/Page';
1819

@@ -71,6 +72,10 @@ export const router = createBrowserRouter([
7172
path: ADMIN.APPLICATION_FORM_BUILDER,
7273
element: <ApplicationFormBuilderPage />,
7374
},
75+
{
76+
path: ADMIN.MEMBER_MANAGEMENT,
77+
element: <MemberManagementPage />,
78+
},
7479
],
7580
},
7681
],
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const MemberManagementPage = () => {
2+
return <></>;
3+
};

โ€Žsrc/shared/types/navigation.tsโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export type NavItemData = {
1717
export type NavRoute = [
1818
'๋™์•„๋ฆฌ์›€',
1919
'๊ณต์ง€์‚ฌํ•ญ',
20-
'FAQ',
2120
'์ง€์›์ž๊ด€๋ฆฌ',
22-
'๋™์•„๋ฆฌํŽ˜์ด์ง€๊ด€๋ฆฌ',
2321
'์ง€์›ํผ๊ด€๋ฆฌ',
22+
'๋™์•„๋ฆฌํŽ˜์ด์ง€๊ด€๋ฆฌ',
23+
'๋™์•„๋ฆฌ์›๊ด€๋ฆฌ',
2424
];

0 commit comments

Comments
ย (0)