2025-02-22 22:56:09 -06:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Space_Grotesk, Space_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
|
|
|
|
|
const spaceGrotesk = Space_Grotesk({
|
2025-02-23 00:21:53 -06:00
|
|
|
variable: "--font-space-grotesk",
|
|
|
|
|
subsets: ["latin"]
|
2025-02-22 22:56:09 -06:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const spaceMono = Space_Mono({
|
2025-02-23 00:21:53 -06:00
|
|
|
variable: "--font-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
weight: ["400"]
|
2025-02-22 22:56:09 -06:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-02-23 00:21:53 -06:00
|
|
|
title: "Create Next App",
|
|
|
|
|
description: "Generated by create next app",
|
2025-02-22 22:56:09 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
2025-02-23 00:21:53 -06:00
|
|
|
children,
|
2025-02-22 22:56:09 -06:00
|
|
|
}: Readonly<{
|
2025-02-23 00:21:53 -06:00
|
|
|
children: React.ReactNode;
|
2025-02-22 22:56:09 -06:00
|
|
|
}>) {
|
2025-02-23 00:21:53 -06:00
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={`${spaceGrotesk.variable} ${spaceMono.variable}`}>
|
|
|
|
|
{children}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
2025-02-22 22:56:09 -06:00
|
|
|
}
|