mirror of
https://github.com/yude-jp/yude.jp
synced 2025-10-12 19:28:43 +09:00
@@ -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 { locale, locales, defaultLocale, pathname } = router
|
||||
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 (
|
||||
|
||||
|
Reference in New Issue
Block a user