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

import { Toaster } from "@/components/ui/toaster";

import "./globals.css";

const inter = Inter({
  variable: "--font-sans",
  subsets: ["latin"],
});

export const metadata: Metadata = {
  title: "SyndicPro - Gestion de copropriété",
  description:
    "Application de gestion pour syndics : lots, charges, assemblées et documents.",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="fr">
      <body className={`${inter.variable} font-sans min-h-screen`}>
        {children}
        <Toaster />
      </body>
    </html>
  );
}
