import "@/styles/globals.css"; import { fontHeading, fontSans, fontSatoshi } from "@/assets/fonts"; import { SessionProvider } from "next-auth/react"; import { NextIntlClientProvider } from "next-intl"; import { getLocale, getMessages } from "next-intl/server"; import { ThemeProvider } from "next-themes"; import { ViewTransitions } from "next-view-transitions"; import { cn, constructMetadata } from "@/lib/utils"; import { Toaster } from "@/components/ui/sonner"; import ModalProvider from "@/components/modals/providers"; import GoogleAnalytics from "@/components/shared/GoogleAnalytics"; import UmamiAnalytics from "@/components/shared/UmamiAnalytics"; import { TailwindIndicator } from "@/components/tailwind-indicator"; interface RootLayoutProps { children: React.ReactNode; } export const metadata = constructMetadata(); export default async function RootLayout({ children }: RootLayoutProps) { const locale = await getLocale(); const messages = await getMessages(); return ( {children} ); }