gbclient/app/layout.tsx

21 lines
No EOL
605 B
TypeScript

import { ThemeProvider } from "@/components/ui/theme-provider";
import { Metadata } from 'next';
import { Nav } from './client-nav';
import './globals.css';
import './globals.css' // This path is correct if the file is in your src/app directory
import { ReactNode } from 'react'
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>
<Nav />
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
{/* <ModeToggle /> */}
{children}
</ThemeProvider>
</body>
</html>
)
}