-
Notifications
You must be signed in to change notification settings - Fork 86
/
Copy pathimage.js
28 lines (26 loc) · 1001 Bytes
/
image.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import Image from 'next/image'
import img from './unsplash.jpg'
import logo from './logomark.svg'
const Images = () => (
<div>
<Image src={img} width={1200} height={800} alt="shiba inu dog looks through a window" />
<p>
<a href="https://unsplash.com/photos/DVCyb0lssMk">Photo</a> by{' '}
<a href="https://unsplash.com/@veraduez?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">
Vera Duez
</a>{' '}
on <a href="https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
</p>
<p>
<Image src={logo} alt="netlify logomark" />
<Image
src="https://raw.githubusercontent.com/netlify/next-runtime/main/demos/default/public/next-on-netlify.png"
alt="Picture of the author"
width={500}
height={500}
/>
<Image src="https://i.imgur.com/bxSRS3Jb.png" alt="Tawny Frogmouth" width={160} height={160} />
</p>
</div>
)
export default Images