Monelia-Nails/src/app/layout.tsx

39 lines
867 B
TypeScript
Raw Normal View History

2025-04-16 09:10:38 +02:00
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
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
className={`${geistSans.variable} ${geistMono.variable} antialiased grid grid-rows-[auto_1fr_auto] h-screen overflow-hidden`}
2025-04-16 09:10:38 +02:00
>
<Header />
2025-04-16 09:10:38 +02:00
{children}
<Footer />
2025-04-16 09:10:38 +02:00
</body>
</html>
);
}