59 lines
1.9 KiB
TypeScript
59 lines
1.9 KiB
TypeScript
import type {Metadata} from "next";
|
||
import "./globals.css";
|
||
|
||
import Footer from "@/components/Footer/Footer";
|
||
import {ThemeProvider} from "@/components/theme-provider";
|
||
import React from "react";
|
||
import CookieConsentBanner from "@/components/Cookie/CookieConsentBanner";
|
||
import Navbar from "@/components/Navbar/Navbar";
|
||
|
||
export const metadata: Metadata = {
|
||
title: "Rhein Software – Maßgeschneiderte Softwarelösung",
|
||
description: "Rhein Software bietet individuelle Softwarelösungen für moderne Unternehmen.",
|
||
keywords: ["Webentwicklung", "Software", "Next.js", "Full Stack", "Rhein Software"],
|
||
authors: [{name: "Rhein Software"}],
|
||
creator: "Rhein Software",
|
||
robots: "index, follow",
|
||
openGraph: {
|
||
title: "Rhein Software – Maßgeschneiderte Softwarelösung",
|
||
description: "Individuelle Softwarelösungen für Unternehmen mit Fokus auf Qualität und Performance.",
|
||
url: "https://www.rhein-software.dev",
|
||
siteName: "Rhein Software",
|
||
locale: "de_DE",
|
||
type: "website",
|
||
images: [
|
||
{
|
||
url: "https://www.rhein-software.dev/og-image.jpg",
|
||
width: 1200,
|
||
height: 630,
|
||
alt: "Rhein Software – Individuelle Softwarelösung",
|
||
},
|
||
],
|
||
},
|
||
};
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="de" suppressHydrationWarning>
|
||
<body className="antialiased">
|
||
<ThemeProvider
|
||
attribute="class"
|
||
defaultTheme="system"
|
||
// disableTransitionOnChange
|
||
>
|
||
<Navbar/>
|
||
<main>
|
||
{children}
|
||
</main>
|
||
<Footer/>
|
||
</ThemeProvider>
|
||
<CookieConsentBanner/>
|
||
</body>
|
||
</html>
|
||
);
|
||
}
|