1- import Image from "next/image" ;
21import "../styles/globals.css" ;
32import styles from "./page.module.css" ;
3+ import Image from "next/image" ;
44
55export default function Home ( ) {
66 return (
77 < div className = { styles . page } >
88 < main className = { styles . main } >
9- < Image
10- className = { styles . logo }
11- src = "/next.svg"
12- alt = "Next.js logo"
13- width = { 180 }
14- height = { 38 }
15- priority
16- />
9+ < Image className = { styles . logo } src = "/next.svg" alt = "Next.js logo" width = { 180 } height = { 38 } priority />
1710 < ol >
1811 < li >
1912 Get started by editing < code > app/page.tsx</ code >
@@ -28,13 +21,7 @@ export default function Home() {
2821 target = "_blank"
2922 rel = "noopener noreferrer"
3023 >
31- < Image
32- className = { styles . logo }
33- src = "/vercel.svg"
34- alt = "Vercel logomark"
35- width = { 20 }
36- height = { 20 }
37- />
24+ < Image className = { styles . logo } src = "/vercel.svg" alt = "Vercel logomark" width = { 20 } height = { 20 } />
3825 Deploy now
3926 </ a >
4027 < a
@@ -53,41 +40,23 @@ export default function Home() {
5340 target = "_blank"
5441 rel = "noopener noreferrer"
5542 >
56- < Image
57- aria-hidden
58- src = "/file-text.svg"
59- alt = "File icon"
60- width = { 16 }
61- height = { 16 }
62- />
43+ < Image aria-hidden src = "/file-text.svg" alt = "File icon" width = { 16 } height = { 16 } />
6344 Learn
6445 </ a >
6546 < a
6647 href = "https://vercel.com/templates?framework=next.js& utm_source = create - next - app & utm_medium = appdir - template & utm_campaign = create - next - app "
6748 target = "_blank"
6849 rel = "noopener noreferrer"
6950 >
70- < Image
71- aria-hidden
72- src = "/window.svg"
73- alt = "Window icon"
74- width = { 16 }
75- height = { 16 }
76- />
51+ < Image aria-hidden src = "/window.svg" alt = "Window icon" width = { 16 } height = { 16 } />
7752 Examples
7853 </ a >
7954 < a
8055 href = "https://nextjs.org?utm_source=create-next-app& utm_medium = appdir - template & utm_campaign = create - next - app "
8156 target = "_blank"
8257 rel = "noopener noreferrer"
8358 >
84- < Image
85- aria-hidden
86- src = "/globe.svg"
87- alt = "Globe icon"
88- width = { 16 }
89- height = { 16 }
90- />
59+ < Image aria-hidden src = "/globe.svg" alt = "Globe icon" width = { 16 } height = { 16 } />
9160 Go to nextjs.org →
9261 </ a >
9362 </ footer >
0 commit comments