2025-04-16 09:10:38 +02:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
import "./globals.css";
|
2025-04-23 15:22:09 +02:00
|
|
|
import Header from "./components/header";
|
|
|
|
import Footer from "./components/footer";
|
2025-04-16 09:10:38 +02:00
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
subsets: ["latin"],
|
|
|
|
});
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
subsets: ["latin"],
|
|
|
|
});
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
title: "Create Next App",
|
|
|
|
description: "Generated by create next app",
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
children,
|
|
|
|
}: Readonly<{
|
|
|
|
children: React.ReactNode;
|
|
|
|
}>) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
|
|
|
<body
|
2025-04-23 15:22:09 +02:00
|
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased grid grid-rows-[auto_1fr_auto] h-screen overflow-hidden`}
|
2025-04-16 09:10:38 +02:00
|
|
|
>
|
2025-04-23 15:22:09 +02:00
|
|
|
<Header />
|
2025-04-16 09:10:38 +02:00
|
|
|
{children}
|
2025-04-23 15:22:09 +02:00
|
|
|
<Footer />
|
2025-04-16 09:10:38 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
);
|
|
|
|
}
|