Skip to content

Commit

Permalink
Add volunteer page
Browse files Browse the repository at this point in the history
  • Loading branch information
emscb committed Oct 23, 2024
1 parent 94fb47e commit 95a2c87
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Nav/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const Menus: MenuType = {
name: "파이콘 한국 준비위원회",
path: "/about/organizing-team",
},
{
name: "자원봉사자",
path: "/about/volunteer",
},
{
name: "건강 관련 안내",
path: "/about/health",
Expand Down
28 changes: 28 additions & 0 deletions src/pages/About/volunteer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Page from "components/common/Page";
import React from "react";

import useTranslation from "utils/hooks/useTranslation";

const Volunteer = () => {
const t = useTranslation();

return (
<Page>
<h1>{t("자원봉사자")}</h1>
<p>
{t(
"파이콘 한국 2024에서 행사 진행을 위해 기여해주신 분들입니다. 파이콘 한국에 기여해주셔서 감사합니다."
)}
<br />
{t("(가나다순)")}
</p>
<p>
{["윤우섭", "노관옥", "주환석", "차보경", "주예은", "조준형", "김혜린", "김준우"]
.sort()
.join(", ")}
</p>
</Page>
);
};

export default Volunteer;
2 changes: 2 additions & 0 deletions src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import PosterSession from "pages/PosterSession";
import { HowToGetThere } from "pages/About/howToGetThere";
import OrganizingTeam from "pages/About/organizingTeam";
import FinancialAid from "pages/FinancialAid";
import Volunteer from "pages/About/volunteer";

const Router = () => {
return (
Expand All @@ -34,6 +35,7 @@ const Router = () => {
<Route path="/about/health" element={<Health />} />
<Route path="/about/place" element={<HowToGetThere />} />
<Route path="/about/organizing-team" element={<OrganizingTeam />} />
<Route path="/about/volunteer" element={<Volunteer />} />
<Route path="/poster-session" element={<PosterSession />} />
<Route path="/fa" element={<FinancialAid />} />
<Route path="/sponsoring/sponsor/prospectus" element={<SponsorPage />} />
Expand Down

0 comments on commit 95a2c87

Please sign in to comment.