gbclient/app/layout.tsx

21 lines
599 B
TypeScript
Raw Normal View History

import { Nav } from './client-nav';
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">
<div>
<ThemeProvider>
<Nav />
<div className="flex-1 overflow-hidden">
{children}
</div>
</ThemeProvider>
</div>
</body>
</html>
)
}