import type { Metadata } from "next"; import { IBM_Plex_Sans, IBM_Plex_Mono } from "next/font/google"; import { AuthProvider } from "@/components/AuthProvider"; import { ThemeProvider } from "@/components/ThemeProvider"; import { ChromeSwitcher } from "@/components/ChromeSwitcher"; import "./globals.css"; /* Sans for humans (headings, summaries, transcripts, buttons, nav); * mono for machines (timestamps, talkgroups, unit ids). See UI_REDESIGN.md §2.1. */ const plexSans = IBM_Plex_Sans({ subsets: ["latin"], weight: ["400", "500", "600"], variable: "--font-sans", display: "swap", }); const plexMono = IBM_Plex_Mono({ subsets: ["latin"], weight: ["400", "500"], variable: "--font-mono", display: "swap", }); export const metadata: Metadata = { title: "DRB — Public-Safety Radio Intelligence", description: "Live incident awareness from field SDR nodes — transcribed, correlated, and mapped in real time.", }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( // suppressHydrationWarning: the inline script below adds `.dark` to // before hydration, so the server/client className legitimately differs. {/* Prevent flash of wrong theme before React hydrates */}