Update application layout

This commit is contained in:
NoAvatar 2024-10-17 04:14:00 +10:00
parent 59ef6bba8d
commit 116d061e81

View File

@ -1,6 +1,8 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import localFont from "next/font/local"; import localFont from "next/font/local";
import "./globals.css"; import "./globals.css";
import Header from "./components/section/Header";
import Footer from "./components/section/Footer";
const geistSans = localFont({ const geistSans = localFont({
src: "./fonts/GeistVF.woff", src: "./fonts/GeistVF.woff",
@ -28,7 +30,9 @@ export default function RootLayout({
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`${geistSans.variable} ${geistMono.variable} antialiased`}
> >
<Header/>
{children} {children}
<Footer/>
</body> </body>
</html> </html>
); );