File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import type { Metadata } from "next"
2- import { Geist
3- , Geist_Mono }
4- from "next/font/google"
5- import "./globals.css"
6-
7-
8-
9- const geistSans = Geist ( { variable :"--font-geist-sans" , subsets :
10- [ "latin" ] } )
11-
12- const geistMono = Geist_Mono ( { variable :"--font-geist-mono" , subsets :
13- [ "latin" ] } )
14-
15- export const metadata
16- :
17- Metadata =
18- {
19- title
20- : "Create Next App"
21- , description :"Generated by create next app" }
22-
23-
24-
25- export default function RootLayout ( { children, }
26- : Readonly < { children
27- :React .
28- ReactNode
29- ; } > )
30- {
31- return ( < html lang = "ko-KR"
32- >
33- < body
34- className = {
35- `${ geistSans
36- .
37- variable
38- }
39- ${ geistMono
40- .
41- variable }
42- antialiased`
1+ import type { Metadata } from "next" ;
2+ import { Geist , Geist_Mono } from "next/font/google" ;
3+ import "./globals.css" ;
4+
5+ const geistSans = Geist ( { variable : "--font-geist-sans" , subsets : [ "latin" ] } ) ;
6+
7+ const geistMono = Geist_Mono ( {
8+ variable : "--font-geist-mono" ,
9+ subsets : [ "latin" ] ,
10+ } ) ;
11+
12+ export const metadata : Metadata = {
13+ title : "Create Next App" ,
14+ description : "Generated by create next app" ,
15+ } ;
16+
17+ export default function RootLayout ( {
18+ children,
19+ } : Readonly < { children : React . ReactNode } > ) {
20+ return (
21+ < html lang = "ko-KR" >
22+ < body
23+ className = { `${ geistSans . variable }
24+ ${ geistMono . variable }
25+ antialiased` }
26+ >
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+ { children }
57+ </ body >
58+ </ html >
59+ ) ;
4360}
44- >
45- { children }
46- </ body > zz </ html > )
47- }
You can’t perform that action at this time.
0 commit comments