Spaces:
Running
Running
| import type { Metadata } from "next"; | |
| import { Inter } from "next/font/google"; | |
| import "./globals.css"; | |
| import { AuthProvider } from "@/lib/auth"; | |
| import { TooltipProvider } from "@/components/ui/tooltip"; | |
| const inter = Inter({ | |
| variable: "--font-sans", | |
| subsets: ["latin"], | |
| display: "swap", | |
| }); | |
| export const metadata: Metadata = { | |
| title: "Document AI Analyst — Enterprise RAG System", | |
| description: | |
| "Upload complex PDFs and chat with an AI agent that pulls specific insights, summarizes data, and accurately cites sources using Retrieval-Augmented Generation.", | |
| keywords: ["RAG", "Document AI", "PDF Analysis", "LLM", "Vector Search"], | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html lang="en" className={`${inter.variable} dark h-full antialiased`}> | |
| <body className="min-h-full flex flex-col bg-background text-foreground"> | |
| <AuthProvider> | |
| <TooltipProvider> | |
| {children} | |
| </TooltipProvider> | |
| </AuthProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |