Spaces:
Build error
Build error
| import type { Metadata } from "next"; | |
| import { Geist, Geist_Mono } from "next/font/google"; | |
| import "./globals.css"; | |
| import { ThemeProvider } from "@/components/theme-provider"; | |
| import { Toaster } from "sonner"; | |
| import { AuthProvider } from "@/lib/auth-context"; | |
| import { Analytics } from "@vercel/analytics/react"; | |
| import { SpeedInsights } from "@vercel/speed-insights/next"; | |
| const geistSans = Geist({ | |
| variable: "--font-geist-sans", | |
| subsets: ["latin"], | |
| }); | |
| const geistMono = Geist_Mono({ | |
| variable: "--font-geist-mono", | |
| subsets: ["latin"], | |
| }); | |
| export const metadata: Metadata = { | |
| title: "AmaniQuery - RAG-Powered Legal & News Intelligence", | |
| description: "AI-powered platform for Kenyan legal, parliamentary, and news intelligence with constitutional alignment analysis", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" suppressHydrationWarning> | |
| <body | |
| className={`${geistSans.variable} ${geistMono.variable} antialiased`} | |
| > | |
| <ThemeProvider> | |
| <AuthProvider> | |
| {children} | |
| <Toaster /> | |
| </AuthProvider> | |
| </ThemeProvider> | |
| <Analytics /> | |
| <SpeedInsights /> | |
| </body> | |
| </html> | |
| ); | |
| } | |