File tree 1 file changed +2
-16
lines changed
1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change 1
1
import type { Metadata } from "next" ;
2
- import localFont from "next/font/local" ;
3
2
import "./globals.css" ;
4
3
import Header from "@/components/Header" ;
5
4
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
-
17
5
export const metadata : Metadata = {
18
6
title : "Create Next App" ,
19
7
description : "Generated by create next app" ,
@@ -26,11 +14,9 @@ export default function RootLayout({
26
14
} > ) {
27
15
return (
28
16
< html lang = "en" >
29
- < body
30
- className = { `${ geistSans . variable } ${ geistMono . variable } antialiased` }
31
- >
17
+ < body >
32
18
< Header />
33
- < main className = "mx-auto" >
19
+ < main >
34
20
{ children }
35
21
</ main >
36
22
</ body >
You can’t perform that action at this time.
0 commit comments