39 lines
909 B
TypeScript
39 lines
909 B
TypeScript
import type { Metadata } from "next";
|
|
import { Poppins, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import { Providers } from "./provider";
|
|
|
|
const poppins = Poppins({
|
|
subsets: ["latin"],
|
|
weight: ["400", "500", "600", "700", "800", "900"],
|
|
variable: "--font-poppins",
|
|
display: "swap",
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-geist-mono",
|
|
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" suppressHydrationWarning>
|
|
<body
|
|
className={`${poppins.variable} ${geistMono.variable} min-h-screen bg-background text-foreground antialiased`}
|
|
>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|