0
0
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:
yude 2021-08-14 10:12:37 +09:00
parent efb5e34b90
commit 93c8be4214
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -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>
</>
) )
} }