import type {Metadata} from "next";
import {Geist, Geist_Mono} from "next/font/google";
import 'leaflet/dist/leaflet.css';
import "./globals.css";
import {Provider} from "@/components/ui/provider";

const geistSans = Geist({
    variable: "--font-geist-sans",
    subsets: ["latin"],
});

const geistMono = Geist_Mono({
    variable: "--font-geist-mono",
    subsets: ["latin"],
});

export const metadata: Metadata = {
    title: "Pet Adviser",
    description: "Generated by create next app",
};

export default function RootLayout({
                                       children,
                                   }: Readonly<{
    children: React.ReactNode;
}>) {
    return (
        <html suppressHydrationWarning lang="en">
        <body className={`${geistSans.variable} ${geistMono.variable}`}>
            <Provider>{children}</Provider>
        </body>
        </html>
    );
}
