import Footer from "@/components/footer"; import Navbar from "@/components/navbar"; import { TooltipProvider } from "@/components/ui/tooltip"; import config from "@/config"; import { notoSans } from "@/font/fonts"; import { cn } from "@/lib/utils"; import ThemeProvider from "@/provider/theme-provider"; import type { Metadata, Viewport } from "next"; import PlausibleProvider from "next-plausible"; import "./globals.css"; import { ReactElement, ReactNode } from "react"; /** * Site metadata & viewport. */ export const metadata: Metadata = config.metadata; export const viewport: Viewport = config.viewport; /** * The root layout for this site. * * @param children the children of this layout * @returns the layout jsx */ const RootLayout = ({ children, }: Readonly<{ children: ReactNode; }>): ReactElement => { const analyticsDomain: string | undefined = config.analyticsDomain; return ( {analyticsDomain && ( )} {children}