41 lines
991 B
TypeScript
41 lines
991 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import Header from "@/components/layout/Header";
|
|
import Footer from "@/components/layout/Footer";
|
|
import CookieBanner from "@/components/CookieBanner";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Steinbruchfest 2025",
|
|
description: "Steinbruchfest und 150 Jahr-Feier der Freiwillige Feuerwehr Friedberg",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="de">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-flyer-yellow`}
|
|
>
|
|
<Header />
|
|
<main className="">{children}</main>
|
|
<Footer />
|
|
<CookieBanner />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|