Files

59 lines
1.9 KiB
TypeScript
Raw Permalink 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 "./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>
);
}