mirror of
https://github.com/yude-jp/yude.jp
synced 2025-04-21 22:44:51 +09:00
Code organization, Add SEO
This commit is contained in:
parent
efb5e34b90
commit
93c8be4214
@ -26,13 +26,19 @@ import Button from './components/Profile/Button'
|
|||||||
import Contact from './components/Profile/Contact'
|
import Contact from './components/Profile/Contact'
|
||||||
import NintendoSW from "./components/Profile/NintendoSW"
|
import NintendoSW from "./components/Profile/NintendoSW"
|
||||||
|
|
||||||
|
// next-seo
|
||||||
|
import { NextSeo } from 'next-seo';
|
||||||
|
|
||||||
export default function Profile(props) {
|
export default function Profile(props) {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const { locale, locales, defaultLocale, pathname } = router
|
const { locale, locales, defaultLocale, pathname } = router
|
||||||
const { t, lang } = useTranslation("profile")
|
const { t, lang } = useTranslation("profile")
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
<NextSeo
|
||||||
|
title="yude のプロフィール"
|
||||||
|
/>
|
||||||
<Layout title={t('about')}>
|
<Layout title={t('about')}>
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
|
|
||||||
@ -117,5 +123,6 @@ export default function Profile(props) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</Layout>
|
</Layout>
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user