0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-12-16 20:54:17 +09:00

Setup Next.js

This commit is contained in:
2021-02-06 02:31:04 +09:00
parent 8d30c7ad06
commit d090d99b0d
18 changed files with 13119 additions and 40 deletions

5
pages/about.js Normal file
View File

@@ -0,0 +1,5 @@
export default () => (
<div>
<p>This is the about page</p>
</div>
)

23
pages/index.js Normal file
View File

@@ -0,0 +1,23 @@
import Layout from "../components/Layout"
import Link from 'next/link'
import Image from 'next/image'
const Index = () => (
<Layout title="ホーム">
<div>
<Image className="avatar"
src = "/static/images/avatar.png"
alt = "yude's avatar"
width = {200}
height = {200}
/>
<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>
)
export default Index