File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
2- import localFont from "next/font/local" ;
32import "./globals.css" ;
43import Header from "@/components/Header" ;
54
6- const geistSans = localFont ( {
7- src : "./fonts/GeistVF.woff" ,
8- variable : "--font-geist-sans" ,
9- weight : "100 900" ,
10- } ) ;
11- const geistMono = localFont ( {
12- src : "./fonts/GeistMonoVF.woff" ,
13- variable : "--font-geist-mono" ,
14- weight : "100 900" ,
15- } ) ;
16-
175export const metadata : Metadata = {
186 title : "Create Next App" ,
197 description : "Generated by create next app" ,
@@ -26,11 +14,9 @@ export default function RootLayout({
2614} > ) {
2715 return (
2816 < html lang = "en" >
29- < body
30- className = { `${ geistSans . variable } ${ geistMono . variable } antialiased` }
31- >
17+ < body >
3218 < Header />
33- < main className = "mx-auto" >
19+ < main >
3420 { children }
3521 </ main >
3622 </ body >
You can’t perform that action at this time.
0 commit comments