mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
Add translation in title tag
This commit is contained in:
parent
cb3ce63e78
commit
32b327df34
@ -15,10 +15,11 @@ export default function Index(props) {
|
||||
const router = useRouter()
|
||||
const { locale, locales, defaultLocale, pathname } = router
|
||||
const { t, lang } = useTranslation("index")
|
||||
const home = t('home')
|
||||
|
||||
return (
|
||||
|
||||
<Layout title="ホーム">
|
||||
<Layout title="{home}">
|
||||
<Navbar />
|
||||
<div className="my-9">
|
||||
<div class="m-10">
|
||||
|
Loading…
Reference in New Issue
Block a user