import './globals.css' import type { Metadata } from 'next' import type { ReactNode } from 'react' import { NextIntlClientProvider } from 'next-intl' import { getLocale, getTranslations } from 'next-intl/server' import { fontVariables } from '~/lib/fonts' import { themeInitScript } from '~/components/ui/theme' export async function generateMetadata(): Promise { const t = await getTranslations('app') return { title: t('name'), description: t('tagline'), } } export default async function RootLayout({ children }: { children: ReactNode }) { const locale = await getLocale() return (