import "./globals.css";
import {Inter} from "next/font/google";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import React from "react";
import CookieConsentBanner from "@/components/CookieConsentBanner";

const inter = Inter({subsets: ["latin"]});

export const metadata = {
    title: "Kanzlei Mustermann",
    description: "Kompetente Rechtsberatung in allen Lebenslagen",
};

export default function RootLayout(
    {children}: Readonly<{ children: React.ReactNode }>) {
    return (
        <html lang="de">
        <body className={inter.className}>
        <Navbar/>
        {children}
        <CookieConsentBanner/>
        <Footer/>
        </body>
        </html>
    );
}
