import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import "./globals.css";
import { SessionProvider } from "next-auth/react";
import { auth } from "@/auth";
import { Toaster } from "@/components/ui/sonner";
const montserrat = Montserrat({
subsets: ["latin"],
style: ["normal"],
weight: ["300", "400", "500", "600", "700", "800"],
});
export const metadata: Metadata = {
title: "Kite - Fast, Flexible Funding for Growth",
description:
"For businesses in the Middle East and North Africa, Kite offers fast, affordable funding for all SMEs. Accelerate your growth with no-interest, no-equity flexible loans tailored to meet your business needs. Unlock opportunities and propel your success with Kite's seamless financial solutions.",
};
export default async function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
const session = await auth();
return (
<SessionProvider session={session}>
<html lang="en">
<body className={montserrat.className}>
<Toaster />
{children}
</body>
</html>
</SessionProvider>
);
}