2021-02-06 14:05:36 +09:00
|
|
|
import Layout from "./components/Layout"
|
|
|
|
import Navbar from "./components/Navbar"
|
|
|
|
import Link from 'next/link'
|
|
|
|
import Image from 'next/image'
|
|
|
|
|
|
|
|
import { useRouter } from 'next/router'
|
|
|
|
|
|
|
|
export default function About(props) {
|
|
|
|
const router = useRouter()
|
|
|
|
const { locale, locales, defaultLocale, pathname } = router
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
<Layout title="ホーム">
|
|
|
|
<Navbar />
|
|
|
|
<div className="my-9">
|
|
|
|
<p>[Debug] Current locale: {pathname}</p>
|
|
|
|
<Image className="rounded-full"
|
|
|
|
src = "/static/images/avatar.png"
|
|
|
|
alt = "yude's avatar"
|
|
|
|
width = {200}
|
|
|
|
height = {200}
|
|
|
|
unoptimized = {true}
|
|
|
|
/>
|
|
|
|
<p>🔨 This page is under the construction. 🔨</p>
|
|
|
|
<p>For now, please visit <Link href="https://yude.moe"><a>yude.moe</a></Link>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</Layout>
|
|
|
|
)
|
|
|
|
}
|