Spaces:
Running
Running
| import type { Metadata } from "next"; | |
| import localFont from "next/font/local"; | |
| import "./globals.css"; | |
| import { AppShell } from "@/components/layout/AppShell"; | |
| const geistSans = localFont({ | |
| src: "./fonts/GeistVF.woff", | |
| variable: "--font-sans", | |
| }); | |
| export const metadata: Metadata = { | |
| title: "BankBot AI | Modern Banking", | |
| description: "AI-powered modern banking dashboard", | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ children: React.ReactNode }>) { | |
| return ( | |
| // lang is updated client-side by AppShell via useEffect | |
| <html lang="en" className="dark"> | |
| <body className={`${geistSans.variable} font-sans antialiased`}> | |
| <AppShell>{children}</AppShell> | |
| </body> | |
| </html> | |
| ); | |
| } | |