Skip to content

Commit 90b9d24

Browse files
Root Layout Updated (#3)
Co-authored-by: Amanuel Abera <[email protected]>
1 parent e01b01d commit 90b9d24

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

app/layout.tsx

+2-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
11
import type { Metadata } from "next";
2-
import localFont from "next/font/local";
32
import "./globals.css";
43
import 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-
175
export 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>

0 commit comments

Comments
 (0)