import { routing } from "@/i18n/routing"; import type { Metadata } from "next"; import { NextIntlClientProvider } from "next-intl"; import { ThemeProvider } from "next-themes"; import { Geist, Geist_Mono } from "next/font/google"; import "../globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { title: "CGR App", description: "Manager for CGR Data", }; export default async function RootLayout({ children, params, }: Readonly<{ children: React.ReactNode; params: Promise<{ locale?: string }>; }>) { const { locale } = await params; return (