simple-kiosk-app/app/layout.tsx

28 lines
636 B
TypeScript
Raw Permalink Normal View History

2024-04-17 19:54:15 +09:00
import type { Metadata } from "next";
2024-04-20 19:58:18 +09:00
import { Inter, Noto_Sans_KR } from "next/font/google";
2024-04-17 19:54:15 +09:00
import "./globals.css";
2024-04-20 19:58:18 +09:00
import { cn } from "@/lib/utils";
2024-04-17 19:54:15 +09:00
2024-04-20 19:58:18 +09:00
const NotoSansKR = Noto_Sans_KR({
subsets: ["latin"],
variable: "--font-sans",
});
2024-04-17 19:54:15 +09:00
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2024-04-20 19:58:18 +09:00
<html lang="ko">
<head />
<body className={cn("min-h-dvh bg-background font-sans antialiased", NotoSansKR.variable)}>{children}</body>
2024-04-17 19:54:15 +09:00
</html>
);
}