28 lines
636 B
TypeScript
28 lines
636 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter, Noto_Sans_KR } from "next/font/google";
|
|
import "./globals.css";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const NotoSansKR = Noto_Sans_KR({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="ko">
|
|
<head />
|
|
<body className={cn("min-h-dvh bg-background font-sans antialiased", NotoSansKR.variable)}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|