2026-06-15 13:04:53 +02:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
2026-06-16 09:43:48 +02:00
|
|
|
import { Nav } from "@/components/nav";
|
2026-06-15 13:04:53 +02:00
|
|
|
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 = {
|
2026-06-16 09:43:48 +02:00
|
|
|
title: "KNUR - Książka Notowań Udźwigów i Rezultatów",
|
|
|
|
|
description: "Analiza treningów biegowych i siłowych",
|
2026-06-15 13:04:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html
|
2026-06-16 09:43:48 +02:00
|
|
|
lang="pl"
|
2026-06-15 13:04:53 +02:00
|
|
|
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
|
|
|
|
>
|
2026-06-16 09:43:48 +02:00
|
|
|
<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>
|
2026-06-15 13:04:53 +02:00
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|