66 lines
1.8 KiB
TypeScript
66 lines
1.8 KiB
TypeScript
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";
|
||
|
||
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/>
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|