import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import { ThemeProvider } from "./context/ThemeContext"; import { getSiteConfig } from "@/config"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const viewport: Viewport = { width: "device-width", initialScale: 1, viewportFit: "cover", }; export const metadata: Metadata = { title: getSiteConfig().meta.title, description: getSiteConfig().meta.description, }; function ThemeScript() { return ( ); } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return (