Add header component with responsive navigation

This commit is contained in:
2026-01-25 02:32:33 +01:00
parent 7d9bd43102
commit c97393c751
14 changed files with 1363 additions and 75 deletions

View File

@@ -15,8 +15,8 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "CGR App",
description: "Manager for CGR Data",
};
export default function RootLayout({
@@ -25,14 +25,9 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<html lang="en" className="dark">
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
<ThemeProvider defaultTheme="system" enableSystem>
<nav className="bg-gray-100 dark:bg-gray-800 p-4">
<ThemeToggle />
</nav>
{children}
</ThemeProvider>
{children}
</body>
</html>
);