Created
February 19, 2022 09:33
-
-
Save igorasilveira/a18594a61c6019142ebd23ac8562d4d7 to your computer and use it in GitHub Desktop.
Doggo .tsx 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' | |
const Doggo: NextPage = () => { | |
return ( | |
<div> | |
<Head> | |
<title>A Doggo</title> | |
</Head> | |
<main> | |
<h1> | |
This is a Doggo. | |
</h1> | |
<Image alt="This is a doggo" src='<https://loremflickr.com/520/520/dog>' width={520} height={520}/> | |
</main> | |
</div> | |
) | |
} | |
export default Doggo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment