import type { Metadata } from "next";
import "./globals.css";
import { Geist, Geist_Mono } from "next/font/google";
import { ShowTableProvider } from "../context/ShowTableContext";
import GoogleTagManager from "@/components/GoogleTagManager";

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

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

export const metadata: Metadata = {
  title: "MY PITCH DECK - AI-Generated pitch deck templates for startups",
  description:
    "Get a custom pitch deck template for your startup. Tailored to you. Powered by AI. Save time, get inspired, and kickstart your funding journey now!",
};

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