mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
34 lines
748 B
TypeScript
34 lines
748 B
TypeScript
import type { Metadata } from "next";
|
|
import { Space_Grotesk, Space_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const spaceGrotesk = Space_Grotesk({
|
|
variable: "--font-space-grotesk",
|
|
subsets: ["latin"]
|
|
});
|
|
|
|
const spaceMono = Space_Mono({
|
|
variable: "--font-mono",
|
|
subsets: ["latin"],
|
|
weight: ["400"]
|
|
});
|
|
|
|
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">
|
|
<body className={`${spaceGrotesk.variable} ${spaceMono.variable}`}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|