import type { Metadata } from "next";
import { Manrope } from "next/font/google";

import "./globals.css";

import { SessionProvider } from "../components/layout/session-provider";

const manrope = Manrope({
  subsets: ["latin"],
  variable: "--font-manrope"
});

export const metadata: Metadata = {
  title: "Rental System",
  description: "Zarządzanie wynajmem sprzętu IT z osią czasu rezerwacji"
};

export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="pl">
      <body className={`${manrope.variable} font-sans`}>
        <SessionProvider>{children}</SessionProvider>
      </body>
    </html>
  );
}
