import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono, Noto_Nastaliq_Urdu } from "next/font/google"; import { Providers } from "@/components/providers"; import { localeBootScript } from "@/lib/i18n/boot"; import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"] }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"] }); // Urdu is set in Nastaliq, the script Pakistani readers expect (Naskh reads as Arabic). const nastaliq = Noto_Nastaliq_Urdu({ variable: "--font-nastaliq", subsets: ["arabic"], weight: ["400", "600", "700"], preload: false, }); export const metadata: Metadata = { title: { default: "WorkPilot", template: "%s ยท WorkPilot" }, description: "Safe AI operations for small businesses: an agent inbox, live runs and policies.", }; export const viewport: Viewport = { themeColor: [ { media: "(prefers-color-scheme: light)", color: "#fbfcfd" }, { media: "(prefers-color-scheme: dark)", color: "#16181d" }, ], }; export default function RootLayout({ children }: LayoutProps<"/">) { return (