| import type { Metadata } from 'next'; | |
| import { Inter, JetBrains_Mono } from 'next/font/google'; | |
| import '../styles/globals.css'; | |
| const inter = Inter({ subsets: ['latin'], variable: '--font-inter' }); | |
| const jetbrains = JetBrains_Mono({ subsets: ['latin'], variable: '--font-mono' }); | |
| export const metadata: Metadata = { | |
| title: 'CodeSync — Real-Time Collaborative Coding', | |
| description: 'A production-grade real-time collaborative coding platform with AI assistance, video calls, and sandboxed code execution.', | |
| }; | |
| export default function RootLayout({ children }: { children: React.ReactNode }) { | |
| return ( | |
| <html lang="en" className="dark"> | |
| <body className={`${inter.variable} ${jetbrains.variable} font-sans antialiased bg-editor-bg text-editor-text`}> | |
| {children} | |
| </body> | |
| </html> | |
| ); | |
| } | |