Files
2026-02-08 17:06:59 +01:00

49 lines
1.0 KiB
TypeScript

import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import localFont from "next/font/local";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
const starJedi = localFont({
src: "../public/fonts/Starjedi.ttf",
variable: "--font-starjedi",
});
const aurebesh = localFont({
src: "../public/fonts/Aurebesh-English.ttf",
variable: "--font-aurebesh",
});
export const metadata: Metadata = {
title: "Smuggler's Run",
description: "A Star Wars inspired roguelike adventure",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${starJedi.variable} ${aurebesh.variable} ${geistSans.variable} ${geistMono.variable}`}
>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
}