import "./globals.css"; import type { Metadata, Viewport } from "next"; import Nav from "@/components/nav"; import AutoRefresh from "@/components/auto-refresh"; export const metadata: Metadata = { title: "CM Bot V2", description: "CM Bot account and user dashboard", }; export const viewport: Viewport = { themeColor: "#18181b", // Lets the page draw under the iPhone notch / Dynamic Island when the // PWA runs in standalone mode. Components that pin to the edges (Nav, // Toast) read env(safe-area-inset-*) to keep their content out of the // hardware cutouts. viewportFit: "cover", }; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return (