Delete unused translations

This commit is contained in:
2021-02-08 16:53:35 +09:00
parent 78008e91b0
commit bf07c1386f
4 changed files with 4 additions and 12 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
{ {
"welcome": "This page is under development.",
"instead_1": "For now, please visit ",
"instead_2": "."
} }
+1 -3
View File
@@ -1,5 +1,3 @@
{ {
"welcome": "このページは現在工事中です。",
"instead_1": "今のところは、",
"instead_2": "を閲覧してください。"
} }
-4
View File
@@ -15,10 +15,6 @@ export default function Index(props) {
const router = useRouter() const router = useRouter()
const { locale, locales, defaultLocale, pathname } = router const { locale, locales, defaultLocale, pathname } = router
const { t, lang } = useTranslation("index") const { t, lang } = useTranslation("index")
// Define translation objects
const welcome = t('welcome')
const instead_1 = t('instead_1')
const instead_2 = t('instead_2')
return ( return (
+2 -2
View File
@@ -13,8 +13,8 @@ export default function About(props) {
<Layout title="ホーム"> <Layout title="ホーム">
<Navbar /> <Navbar />
<div className="my-9"> <div className="my-9 mx-8">
<p>まだできてないわね</p> <h1 className="text-left">yude について</h1>
</div> </div>
</Layout> </Layout>