import clsx from 'clsx'; import {Inter} from 'next/font/google'; import { NextIntlClientProvider } from 'next-intl'; import { getLocale, getMessages } from 'next-intl/server'; import {Providers} from "./providers"; import { getSrcPath } from '@/lib/path'; import type { Metadata } from 'next'; import "@/styles/globals.css"; // export const dynamic = 'error' const inter = Inter({subsets: ['latin']}); export const metadata: Metadata = { title: 'ai数字人', icons: '/favicon.ico', }; export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { const locale = await getLocale(); const messages = await getMessages(); return (