import type { Metadata, Viewport } from "next"; import "./globals.css"; import { ToastProvider } from "@/components/ui/Toast"; import ServiceWorkerRegister from "@/components/ServiceWorkerRegister"; // NOTE: We deliberately do NOT use `next/font/google` here. That loader // downloads the font files from Google at *build time*, which fails in // restricted CI/build environments (e.g. Render) with // "TypeError: Cannot read properties of null (reading '1')". Instead we // load the same fonts via a standard at runtime. The matching CSS // variables (--font-display / --font-body / --font-mono) are declared in // globals.css, so the typography is unchanged. export const metadata: Metadata = { title: "Vessel \u2014 Branch Delivery Console", description: "Multi-branch 20L jerrycan delivery & payment operations", }; export const viewport: Viewport = { width: "device-width", initialScale: 1, maximumScale: 1, themeColor: "#0C0C0C", }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( {children} ); }