gbclient/app/layout.tsx

23 lines
584 B
TypeScript
Raw Normal View History

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'
import { ThemeProvider } from './theme-provider';
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body className='flex flex-col min-h-screen'>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<Nav />
{children}
</ThemeProvider>
</body>
</html>
)
}