Some checks failed
Build & Deploy MB Grid Solutions / build-and-deploy (push) Failing after 27s
104 lines
3.1 KiB
TypeScript
104 lines
3.1 KiB
TypeScript
import Layout from "@/components/Layout";
|
|
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-inter",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "MB Grid Solutions | Energiekabelprojekte & Technische Beratung",
|
|
template: "%s | MB Grid Solutions"
|
|
},
|
|
description: "Ihr spezialisierter Partner für herstellerneutrale technische Beratung und Projektbegleitung bei Energiekabelprojekten bis 110 kV. Expertise in Mittel- und Hochspannungsnetzen.",
|
|
keywords: ["Energiekabel", "Hochspannung", "Mittelspannung", "Kabelprojekte", "Technische Beratung", "Engineering", "Energiewende", "110 kV"],
|
|
authors: [{ name: "MB Grid Solutions & Services GmbH" }],
|
|
creator: "MB Grid Solutions & Services GmbH",
|
|
publisher: "MB Grid Solutions & Services GmbH",
|
|
formatDetection: {
|
|
email: false,
|
|
address: false,
|
|
telephone: false,
|
|
},
|
|
openGraph: {
|
|
type: "website",
|
|
locale: "de_DE",
|
|
url: "https://www.mb-grid-solutions.com",
|
|
siteName: "MB Grid Solutions",
|
|
title: "MB Grid Solutions | Energiekabelprojekte & Technische Beratung",
|
|
description: "Spezialisierter Partner für Energiekabelprojekte bis 110 kV. Herstellerneutrale technische Beratung und Projektbegleitung.",
|
|
images: [
|
|
{
|
|
url: "/assets/logo.png",
|
|
width: 800,
|
|
height: 600,
|
|
alt: "MB Grid Solutions Logo",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "MB Grid Solutions | Energiekabelprojekte & Technische Beratung",
|
|
description: "Spezialisierter Partner für Energiekabelprojekte bis 110 kV.",
|
|
images: ["/assets/logo.png"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
'max-video-preview': -1,
|
|
'max-image-preview': 'large',
|
|
'max-snippet': -1,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
const jsonLd = {
|
|
"@context": "https://schema.org",
|
|
"@type": "Organization",
|
|
"name": "MB Grid Solutions & Services GmbH",
|
|
"url": "https://www.mb-grid-solutions.com",
|
|
"logo": "https://www.mb-grid-solutions.com/assets/logo.png",
|
|
"description": "Ihr spezialisierter Partner für herstellerneutrale technische Beratung und Projektbegleitung bei Energiekabelprojekten bis 110 kV.",
|
|
"address": {
|
|
"@type": "PostalAddress",
|
|
"streetAddress": "Raiffeisenstraße 22",
|
|
"addressLocality": "Remshalden",
|
|
"postalCode": "73630",
|
|
"addressCountry": "DE"
|
|
},
|
|
"contactPoint": {
|
|
"@type": "ContactPoint",
|
|
"email": "info@mb-grid-solutions.com",
|
|
"contactType": "customer service"
|
|
}
|
|
};
|
|
|
|
return (
|
|
<html lang="de" className={`${inter.variable}`}>
|
|
<head>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
|
/>
|
|
</head>
|
|
<body className="antialiased">
|
|
<Layout>
|
|
{children}
|
|
</Layout>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|