Files
knur-app/app/layout.tsx
Dominik Klarkowski 36407f534b init
2026-06-16 09:43:48 +02:00

40 lines
947 B
TypeScript

import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Nav } from "@/components/nav";
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: "KNUR - Książka Notowań Udźwigów i Rezultatów",
description: "Analiza treningów biegowych i siłowych",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="pl"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col bg-bg text-fg">
<Nav />
<main className="mx-auto w-full max-w-5xl flex-1 px-4 py-6 sm:px-6">
{children}
</main>
</body>
</html>
);
}