File tree Expand file tree Collapse file tree 4 files changed +55
-34
lines changed Expand file tree Collapse file tree 4 files changed +55
-34
lines changed Original file line number Diff line number Diff line change 2727 "eslint-plugin-import" : " ^2.29.1" ,
2828 "eslint-plugin-jsx-a11y" : " ^6.6.1" ,
2929 "eslint-plugin-no-secrets" : " ^1.0.2" ,
30- "eslint-plugin-prettier" : " ^4.2.1 " ,
30+ "eslint-plugin-prettier" : " ^5.4.0 " ,
3131 "eslint-plugin-react" : " ^7.31.10" ,
3232 "eslint-plugin-react-hooks" : " ^5.2.0" ,
3333 "husky" : " ^9.1.7" ,
Original file line number Diff line number Diff line change 11import type { Metadata } from 'next' ;
2- import { Geist , Geist_Mono } from 'next/font/google' ;
32import './globals.css' ;
43
54export const metadata : Metadata = {
Original file line number Diff line number Diff line change 1- "use client" ;
2- import Image from "next/image" ;
3- import styles from "./page.module.css" ;
1+ 'use client' ;
2+ import Image from 'next/image' ;
3+
4+ import styles from './page.module.css' ;
45
56export default function Home ( ) {
67 return (
@@ -53,41 +54,23 @@ export default function Home() {
5354 target = "_blank"
5455 rel = "noopener noreferrer"
5556 >
56- < Image
57- aria-hidden
58- src = "/file.svg"
59- alt = "File icon"
60- width = { 16 }
61- height = { 16 }
62- />
57+ < Image aria-hidden src = "/file.svg" alt = "File icon" width = { 16 } height = { 16 } />
6358 Learn
6459 </ a >
6560 < a
6661 href = "https://vercel.com/templates?framework=next.js& utm_source = create - next - app & utm_medium = appdir - template & utm_campaign = create - next - app "
6762 target = "_blank"
6863 rel = "noopener noreferrer"
6964 >
70- < Image
71- aria-hidden
72- src = "/window.svg"
73- alt = "Window icon"
74- width = { 16 }
75- height = { 16 }
76- />
65+ < Image aria-hidden src = "/window.svg" alt = "Window icon" width = { 16 } height = { 16 } />
7766 Examples
7867 </ a >
7968 < a
8069 href = "https://nextjs.org?utm_source=create-next-app& utm_medium = appdir - template & utm_campaign = create - next - app "
8170 target = "_blank"
8271 rel = "noopener noreferrer"
8372 >
84- < Image
85- aria-hidden
86- src = "/globe.svg"
87- alt = "Globe icon"
88- width = { 16 }
89- height = { 16 }
90- />
73+ < Image aria-hidden src = "/globe.svg" alt = "Globe icon" width = { 16 } height = { 16 } />
9174 Go to nextjs.org →
9275 </ a >
9376 </ footer >
You can’t perform that action at this time.
0 commit comments