39 lines
866 B
TypeScript
39 lines
866 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Anuphan } from "next/font/google";
|
|
import "./globals.css";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const anuphan = Anuphan({
|
|
variable: "--font-anuphan",
|
|
subsets: ["latin", "thai"],
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Erika",
|
|
};
|
|
|
|
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={cn("h-full", "dark", "antialiased", anuphan.variable, geistSans.variable, "font-sans")}
|
|
>
|
|
<body className={`${anuphan.className} ${geistSans.className}`}>
|
|
<TooltipProvider>{children}</TooltipProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|