Refactor website to use shadcn components
This commit is contained in:
58
frontend/app/layout.tsx
Normal file
58
frontend/app/layout.tsx
Normal file
@@ -0,0 +1,58 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user