31 lines
767 B
JavaScript
31 lines
767 B
JavaScript
import { Inter, Bricolage_Grotesque } from "next/font/google";
|
|
import "./globals.css";
|
|
import Header from "./components/Header";
|
|
import Footer from "./components/Footer";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
weight: ["400", "500"],
|
|
variable: "--font-inter",
|
|
});
|
|
|
|
const bricolageGrotesque = Bricolage_Grotesque({
|
|
subsets: ["latin"],
|
|
weight: ["400"],
|
|
variable: "--font-bricolage-grotesque",
|
|
});
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.variable} ${bricolageGrotesque.variable}`}>
|
|
<div className="min-h-screen flex flex-col">
|
|
<Header />
|
|
<main className="flex-1">{children}</main>
|
|
<Footer />
|
|
</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|