16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
|
import Link from 'next/link'
|
||
|
import Layout from '../components/Layout'
|
||
|
|
||
|
const IndexPage = () => (
|
||
|
<Layout title="Home | Next.js + TypeScript Example">
|
||
|
<h1>Hello Next.js 👋</h1>
|
||
|
<p>
|
||
|
<Link href="/about">
|
||
|
<a>About</a>
|
||
|
</Link>
|
||
|
</p>
|
||
|
</Layout>
|
||
|
)
|
||
|
|
||
|
export default IndexPage
|