Spaces:
Running
Running
File size: 777 Bytes
ad19202 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
import { ClientProviders } from "@shared/components/ClientProviders";
import { cn } from "@ui/lib";
import { Geist } from "next/font/google";
import { NuqsAdapter } from "nuqs/adapters/next/app";
import type { PropsWithChildren } from "react";
const sansFont = Geist({
weight: ["400", "500", "600", "700"],
subsets: ["latin"],
variable: "--font-sans",
});
export async function Document({
children,
locale,
}: PropsWithChildren<{ locale: string }>) {
return (
<html
lang={locale}
suppressHydrationWarning
className={sansFont.className}
>
<body
className={cn(
"min-h-screen bg-background text-foreground antialiased",
)}
>
<NuqsAdapter>
<ClientProviders>{children}</ClientProviders>
</NuqsAdapter>
</body>
</html>
);
}
|