49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Bodoni_Moda, Geist, Geist_Mono, Montserrat } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const bodoniModa = Bodoni_Moda({
|
|
variable: "--font-bodoni-moda",
|
|
subsets: ["latin"],
|
|
weight: ["400", "500"],
|
|
style: ["normal", "italic"],
|
|
display: "swap",
|
|
});
|
|
|
|
const montserrat = Montserrat({
|
|
variable: "--font-montserrat",
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500"],
|
|
display: "swap",
|
|
});
|
|
|
|
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="en"
|
|
className={`${geistSans.variable} ${geistMono.variable} ${bodoniModa.variable} ${montserrat.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col">{children}</body>
|
|
</html>
|
|
);
|
|
}
|