diff --git a/components/About.tsx b/components/About.tsx index 4f846f9..3c6dce5 100644 --- a/components/About.tsx +++ b/components/About.tsx @@ -1,33 +1,35 @@ import { FC } from 'react' import styles from '../static/Section.module.scss' +import { useLocale } from '../hooks/useLocale' const About: FC = () => { + const { t } = useLocale() return (
-

{'About'}

+

{t.about}

-
開催日時
-
2021年 11月 20日
+
{t.date_and_time}
+
{t.november_20_2021}
-
会場
-
オンライン
+
{t.venue}
+
{t.online}
-
参加費
-
無料
+
{t.entry_fee}
+
{t.free}
-
参加方法
+
{t.way_to_participate}
- connpass フォームより参加を申し込む + {t.apply_for_participation_from_connpass_form}
diff --git a/components/Footer.tsx b/components/Footer.tsx index 16de98e..d005d9d 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,15 +1,17 @@ import { FC } from 'react' import Link from 'next/link' import styles from '../static/Footer.module.scss' +import { useLocale } from '../hooks/useLocale' import { organizationName } from '../utils/constants' const Footer: FC = () => { + const { t } = useLocale() return (