Bankbot / frontend /src /app /layout.tsx
mohsin-devs's picture
feat: improved light mode + language sync to html lang attribute
7782325
Raw
History Blame Contribute Delete
737 Bytes
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>
);
}