Created
August 12, 2020 10:31
-
-
Save hadnazzar/6c68036bdc22a174bd0cc023972147c4 to your computer and use it in GitHub Desktop.
Nextjs typescript layout index page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment