Skip to content

Commit

Permalink
Add volunteer page in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
emscb committed Aug 9, 2023
1 parent b2c3faa commit 911fa71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const routeKeys = [
'TIMETABLE',
'CHILDCARE',
'SPONSOR_EDIT',
'ORGANISING_COMMITTEE',
'ORGANIZING_TEAM',
'VOLUNTEER',
] as const;

export const Routes: { [key in (typeof routeKeys)[number]]: RouteType } = {
Expand Down Expand Up @@ -105,10 +106,14 @@ export const Routes: { [key in (typeof routeKeys)[number]]: RouteType } = {
title: '후원사 정보 수정',
route: '/sponsor/edit',
},
ORGANISING_COMMITTEE: {
ORGANIZING_TEAM: {
title: '파이콘 한국 준비위원회',
route: '/about/organizing-team',
},
VOLUNTEER: {
title: '자원봉사자',
route: '/about/volunteer',
},
};

export const SectionMenu: {
Expand All @@ -117,7 +122,7 @@ export const SectionMenu: {
}[] = [
{
label: '파이콘 한국',
items: [Routes.TICKET, Routes.ORGANISING_COMMITTEE],
items: [Routes.TICKET, Routes.ORGANIZING_TEAM, Routes.VOLUNTEER],
},
{
label: '프로그램',
Expand All @@ -129,7 +134,6 @@ export const SectionMenu: {
Routes.CHILDCARE,
],
},
{ label: '기여 안내', items: [Routes.FINANCIAL_AID] },
{
label: '후원 안내',
items: [Routes.SPONSOR_INFO, Routes.PRIVATE_SPONSORS],
Expand All @@ -144,4 +148,5 @@ export const LinkMenu: RouteType[] = [
// Routes.COC,
// Routes.CFP_APPLY,
// Routes.SPONSOR_JOIN,
Routes.FINANCIAL_AID,
];
2 changes: 1 addition & 1 deletion pages/about/organizing-team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const OrganisingCommittee = () => {
return (
<>
<SeoHeader
title={Routes.ORGANISING_COMMITTEE.title}
title={Routes.ORGANIZING_TEAM.title}
description="파이콘 한국 2023: 8월 11~13일 코엑스"
/>
<Container>
Expand Down
2 changes: 1 addition & 1 deletion pages/about/volunteer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const OrganisingCommittee = () => {
return (
<>
<SeoHeader
title={Routes.ORGANISING_COMMITTEE.title}
title={Routes.VOLUNTEER.title}
description="파이콘 한국 2023: 8월 11~13일 코엑스"
/>
<Container>
Expand Down

0 comments on commit 911fa71

Please sign in to comment.