mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-23 04:30:11 +09:00
parent
3b3fc8533f
commit
78008e91b0
@ -1,3 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"welcome": "This page is under development.",
|
||||||
|
"instead_1": "For now, please visit ",
|
||||||
|
"instead_2": "."
|
||||||
}
|
}
|
@ -15,6 +15,10 @@ 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 (
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user