feat: complete UI design system refactoring and fix TS build errors

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 03:38:34 +02:00
1 parent 0b1ffdfdfc
commit 8728308fc6
27 files changed
+847 -370

No files matched your search

+18 -4
View File
@@ -4,6 +4,11 @@ import "./globals.css";
import { LegalFooter } from "@/components/layout/legal-footer";
import { ThemeProvider } from "@/components/theme-provider";
import { Inter } from "next/font/google";
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
export const metadata: Metadata = {
title: "Redaktionsportal | Leon Tonhäuser",
description: "Ausgewählte Pressefotos sicher finden und nutzen.",
@@ -11,10 +16,19 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
return (
<html lang="de">
<body>
{children}
<LegalFooter />
<html lang="de" suppressHydrationWarning>
<body className={`${inter.variable} font-sans antialiased bg-background text-foreground transition-colors duration-300 min-h-screen flex flex-col`}>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<div className="flex-1 flex flex-col">
{children}
</div>
<LegalFooter />
</ThemeProvider>
</body>
</html>
);