Files
erika/app/layout.tsx
T

38 lines
807 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",
description: "Erika's website",
};
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}`}>
{children}
</body>
</html>
);
}