Skip to content

Commit 1b4b194

Browse files
committed
feat: add image to demo
1 parent 9549367 commit 1b4b194

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

demo/pages/image.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Image from 'next/image'
2+
import img from './unsplash.jpg'
3+
4+
const Images = () => (
5+
<div>
6+
<Image src={img} width={1080} alt="puppy" />
7+
</div>
8+
)
9+
10+
export default Images

demo/pages/unsplash.jpg

28.7 KB
Loading

0 commit comments

Comments
 (0)