Add header component with responsive navigation
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user