Files
03b38da8-3b50-406c-81a9-b6f…/src/app/layout.tsx
2026-03-15 13:23:30 +00:00

81 lines
2.3 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 { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Raleway } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const raleway = Raleway({
variable: "--font-raleway",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Heizungsbau Plagens Ihre Heizungsexperten aus Bautzen",
description: "Heizungsbau, Sanitär und Haustechnik aus einer Hand. Wir bieten Heizungsinstallation, Wartung, Reparatur und 24/7 Notfalldienst im Raum Bautzen.",
keywords: "Heizungsbau Bautzen, Heizungsinstallation, Sanitär, Heizungswartung, Notdienst Heizung",
metadataBase: new URL("https://heizungsbau-plagens.de"),
alternates: {
canonical: "https://heizungsbau-plagens.de",
},
openGraph: {
title: "Heizungsbau Plagens Heizungsexperten aus Bautzen",
description: "Professionelle Heizungs- und Sanitärlösungen für Hausbesitzer und Gewerbebetriebe im Raum Bautzen.",
url: "https://heizungsbau-plagens.de",
siteName: "Heizungsbau Plagens",
images: [
{
url: "https://heizungsbau-plagens.de/og-hero.jpg",
alt: "Heizungsbau Plagens",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Heizungsbau Plagens",
description: "Ihre zuverlässigen Heizungsexperten aus Bautzen",
images: ["https://heizungsbau-plagens.de/twitter-hero.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}