
Some checks failed
GBCI / build (push) Failing after 3m42s
- Implemented ChatProvider to manage chat context and user state. - Added API fetching utility for chat instance and activity handling. - Integrated chat service with methods for sending activities. - Updated Tailwind CSS configuration to include additional content paths and custom utilities. - Added client-side rendering directive to mode-toggle component. - Created README.md for settings documentation.
22 lines
No EOL
663 B
TypeScript
22 lines
No EOL
663 B
TypeScript
|
|
import { ThemeProvider } from '@/components/ui/theme-provider';
|
|
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 ModeToggle from '@/components/ui/mode-toggle';
|
|
|
|
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className='flex flex-col min-h-screen'>
|
|
<Nav />
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
<ModeToggle />
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
} |