Update src/app/layout.tsx

This commit is contained in:
2026-03-06 20:39:15 +00:00
parent 80b9b2960d
commit 2aec771b6e

View File

@@ -1,58 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Roboto } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "@/styles/globals.css";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const roboto = Roboto({
variable: "--font-roboto", subsets: ["latin"],
weight: ["100", "300", "400", "500", "700", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Schloss Wolfenbüttel - Architektonische Entwicklung", description: "Umfassende akademische Darstellung der historischen und architektonischen Entwicklung von Schloss Wolfenbüttel vom Mittelalter bis heute. Facharbeit für Geschichtsschüler.", keywords: "Schloss Wolfenbüttel, Architektur, Geschichte, Mittelalter, Renaissance, Barock, Facharbeit, Welfen, Norddeutschland", metadataBase: new URL("https://schloss-wolfenbüttel.de"),
alternates: {
canonical: "https://schloss-wolfenbüttel.de"},
openGraph: {
title: "Schloss Wolfenbüttel - Historische Entwicklung", description: "Eine Reise durch die Architektur und Geschichte eines bedeutenden norddeutschen Schlosses", type: "website", siteName: "Schloss Wolfenbüttel", images: [
{
url: "http://img.b2bpic.net/free-photo/neuschwanstein_181624-30321.jpg", alt: "medieval castle architecture exterior view"},
],
},
twitter: {
card: "summary_large_image", title: "Schloss Wolfenbüttel - Historische Entwicklung", description: "Historische Facharbeit zur architektonischen Entwicklung", images: ["http://img.b2bpic.net/free-photo/neuschwanstein_181624-30321.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Schloss Wolfenbüttel", description: "Eine architektonische Reise durch die Epochen"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${roboto.variable} antialiased`}
>
<Tag />
{children}
<html lang="de">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}