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 , Geist_Mono } from "next/font/google" ;
3- import "./globals.css" ;
4-
5- const geistSans = Geist ( {
6- variable : "--font-geist-sans" ,
7- subsets : [ "latin" ] ,
8- } ) ;
9-
10- const geistMono = Geist_Mono ( {
11- variable : "--font-geist-mono" ,
12- subsets : [ "latin" ] ,
13- } ) ;
14-
15- export const metadata : Metadata = {
16- title : "Create Next App" ,
17- description : "Generated by create next app" ,
18- } ;
19-
20- export default function RootLayout ( {
21- children,
22- } : Readonly < {
23- children : React . ReactNode ;
24- } > ) {
25- return (
26- < html lang = "en" >
27- < body
28- className = { `${ geistSans . variable } ${ geistMono . variable } antialiased` }
29- >
30- { children }
31- </ body >
32- </ html >
33- ) ;
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`
3443}
44+ >
45+ { children }
46+ </ body > </ html > )
47+ }
You can’t perform that action at this time.
0 commit comments