32 lines
801 B
TypeScript
32 lines
801 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import { GeistSans } from "geist/font/sans";
|
|
import { GeistMono } from "geist/font/mono";
|
|
import "./globals.css";
|
|
|
|
// const geistSans = Geist({
|
|
// variable: "--font-geist-sans",
|
|
// subsets: ["latin"]
|
|
// });
|
|
|
|
// const geistMono = Geist_Mono({
|
|
// variable: "--font-geist-mono",
|
|
// subsets: ["latin"]
|
|
// });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app"
|
|
};
|
|
|
|
export default function RootLayout({ children }: LayoutProps<"/">) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${GeistSans.variable} ${GeistMono.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col">{children}</body>
|
|
</html>
|
|
);
|
|
}
|