Merge version_3 into main #6
@@ -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";
|
||||
|
||||
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: "Entdecken Sie die faszinierende Geschichte einer der bedeutendsten historischen Residenzen Norddeutschlands."};
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ export default function HomePage() {
|
||||
tagIcon={BookOpen}
|
||||
background={{ variant: "animated-grid" }}
|
||||
buttons={[
|
||||
{ text: "Zu den Epochen", href: "/epochen/mittelalter" },
|
||||
{ text: "Epochen erkunden", href: "/epochen/mittelalter" },
|
||||
{ text: "Mehr erfahren", href: "#about" },
|
||||
]}
|
||||
dashboard={{
|
||||
|
||||
Reference in New Issue
Block a user