Skip to content

Instantly share code, notes, and snippets.

@igorasilveira
Created February 19, 2022 09:33
Show Gist options
  • Save igorasilveira/a18594a61c6019142ebd23ac8562d4d7 to your computer and use it in GitHub Desktop.
Save igorasilveira/a18594a61c6019142ebd23ac8562d4d7 to your computer and use it in GitHub Desktop.
Doggo .tsx Page
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