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:
5
pages/about.js
Normal file
5
pages/about.js
Normal file
@@ -0,0 +1,5 @@
|
||||
export default () => (
|
||||
<div>
|
||||
<p>This is the about page</p>
|
||||
</div>
|
||||
)
|
||||
23
pages/index.js
Normal file
23
pages/index.js
Normal 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
|
||||
Reference in New Issue
Block a user