Files
demo-websites/lawfirm-demos/demo-2/app/layout.tsx

68 lines
1.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type {Metadata} from "next";
import {Geist, Geist_Mono} from "next/font/google";
import "./globals.css";
import Navbar from "@/components/Navbar";
import React from "react";
import Footer from "@/components/Footer";
import CookieConsentBanner from "@/components/CookieConsentBanner";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Rechtsanwalt Max Mustermann Zivilrecht & Vertragsrecht in Berlin",
description:
"Individuelle Rechtsberatung vom erfahrenen Anwalt für Zivilrecht, Vertragsrecht, Arbeitsrecht & Mietrecht. Jetzt Kontakt aufnehmen.",
keywords: [
"Rechtsanwalt Berlin",
"Zivilrecht",
"Vertragsrecht",
"Arbeitsrecht",
"Mietrecht",
"Max Mustermann",
"Anwaltskanzlei",
"Rechtsberatung",
],
robots: "index, follow",
openGraph: {
title: "Rechtsanwalt Max Mustermann",
description:
"Kompetente Rechtsberatung in Berlin für Privatpersonen & Unternehmen.",
url: "https://kanzlei-mustermann.de",
siteName: "Kanzlei Max Mustermann",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Rechtsanwalt Max Mustermann",
description:
"Kompetente Rechtsberatung in Berlin für Zivilrecht, Vertragsrecht & mehr.",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<Navbar/>
{children}
<Footer/>
<CookieConsentBanner/>
</body>
</html>
);
}