Files
rate-my-shots/src/app/layout.tsx
2026-04-04 01:18:06 +01:00

37 lines
795 B
TypeScript

import type { Metadata } from "next";
import { Geist, Geist_Mono } 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"],
});
export const metadata: Metadata = {
title: "Rate My Shots",
description: "A public ELO tournament for photography",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} dark antialiased`}
data-theme="dark"
>
<body className="bg-background text-foreground min-h-dvh flex flex-col">
{children}
</body>
</html>
);
}