Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 0c50d00

Browse files
committed
Add program pages
1 parent 95a2c87 commit 0c50d00

File tree

4 files changed

+47
-8
lines changed

4 files changed

+47
-8
lines changed

src/components/Nav/menus.ts

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,19 @@ const Menus: MenuType = {
5252
},
5353
],
5454
},
55-
// FYI 0929 충분히 안내가 되어서 제거
56-
// program: {
57-
// name: "프로그램",
58-
// onClick: ({ setOpenMenu, dispatch }) => {
59-
// setOpenMenu(false);
60-
// dispatch(openGlobalDialog(DIALOG_CONST_PROGRAM_NOT_HELD_ON_2024));
61-
// },
62-
// },
55+
program: {
56+
name: "프로그램",
57+
sub: [
58+
{
59+
name: "튜토리얼",
60+
path: "/program/tutorial",
61+
},
62+
{
63+
name: "스프린트",
64+
path: "/program/sprint",
65+
},
66+
],
67+
},
6368
ticket: {
6469
name: "티켓 구매",
6570
onClick: ({ setOpenMenu }) => {

src/pages/Program/sprint.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import Page from "components/common/Page";
2+
import React from "react";
3+
import useTranslation from "utils/hooks/useTranslation";
4+
5+
const Sprint = () => {
6+
const t = useTranslation();
7+
8+
return (
9+
<Page title={t("스프린트")}>
10+
<h1>{t("스프린트")}</h1>
11+
</Page>
12+
);
13+
};
14+
15+
export default Sprint;

src/pages/Program/tutorial.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import Page from "components/common/Page";
2+
import React from "react";
3+
import useTranslation from "utils/hooks/useTranslation";
4+
5+
const Tutorial = () => {
6+
const t = useTranslation();
7+
8+
return (
9+
<Page title={t("튜토리얼")}>
10+
<h1>{t("튜토리얼")}</h1>
11+
</Page>
12+
);
13+
};
14+
15+
export default Tutorial;

src/routes.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import { HowToGetThere } from "pages/About/howToGetThere";
2323
import OrganizingTeam from "pages/About/organizingTeam";
2424
import FinancialAid from "pages/FinancialAid";
2525
import Volunteer from "pages/About/volunteer";
26+
import Tutorial from "pages/Program/tutorial";
27+
import Sprint from "pages/Program/sprint";
2628

2729
const Router = () => {
2830
return (
@@ -45,6 +47,8 @@ const Router = () => {
4547
<Route path="/session/:code" element={<SessionDetailPage />} />
4648
<Route path="/session/timetable" element={<SessionTimeTablePage />} />
4749
<Route path="/contribution/cfp" element={<Cfp />} />
50+
<Route path="/program/tutorial" element={<Tutorial />} />
51+
<Route path="/program/sprint" element={<Sprint />} />
4852
<Route path="/terms-of-service" element={<TermsOfService />} />
4953
<Route path="/privacy-policy" element={<PrivacyPolicy />} />
5054
<Route path="/404" element={<NotFound />} />

0 commit comments

Comments
 (0)