2025-04-27 15:29:53 -03:00
|
|
|
|
2025-06-21 14:30:11 -03:00
|
|
|
import { ThemeProvider } from '@/components/ui/theme-provider';
|
2025-04-02 20:42:47 -03:00
|
|
|
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'
|
2025-06-21 14:30:11 -03:00
|
|
|
import ModeToggle from '@/components/ui/mode-toggle';
|
2025-04-02 20:42:47 -03:00
|
|
|
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
|
|
return (
|
|
|
|
<html lang="en">
|
2025-06-21 14:30:11 -03:00
|
|
|
<body className='flex flex-col min-h-screen'>
|
2025-04-26 21:44:35 -03:00
|
|
|
<Nav />
|
2025-06-21 14:30:11 -03:00
|
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
|
|
<ModeToggle />
|
2025-04-26 21:44:35 -03:00
|
|
|
{children}
|
2025-06-21 14:30:11 -03:00
|
|
|
</ThemeProvider>
|
2025-04-02 20:42:47 -03:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
)
|
|
|
|
}
|