Created
February 19, 2022 09:36
-
-
Save igorasilveira/d1d8e8b22f0c58baf6769c3904ff5e56 to your computer and use it in GitHub Desktop.
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 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'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