Skip to content

Instantly share code, notes, and snippets.

@igorasilveira
Created February 19, 2022 09:36
Show Gist options
  • Save igorasilveira/d1d8e8b22f0c58baf6769c3904ff5e56 to your computer and use it in GitHub Desktop.
Save igorasilveira/d1d8e8b22f0c58baf6769c3904ff5e56 to your computer and use it in GitHub Desktop.
Index page
import type { NextPage } from 'next'
import Head from 'next/head'
import Image from 'next/image'
import Link from 'next/link'
import styles from '../styles/Home.module.css'
const Home: NextPage = () => {
return (
<div className={styles.container}>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<h1 className={styles.title}>
Welcome to <a href="<https://nextjs.org>">Next.js!</a>
</h1>
<p className={styles.description}>
Let&apos;s check our <Link href="dogs/a-doggo">doggo</Link>.
</p>
</main>
<footer className={styles.footer}>
<a
href="<https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app>"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<span className={styles.logo}>
<Image src="/vercel.svg" alt="Vercel Logo" width={72} height={16} />
</span>
</a>
</footer>
</div>
)
}
export default Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment