Refactor website to use shadcn components

This commit is contained in:
2025-06-28 12:01:43 +00:00
parent 1648e376bf
commit 8c05ad29cb
78 changed files with 3858 additions and 2722 deletions

58
frontend/app/layout.tsx Normal file
View 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>
);
}