"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="largeSmallSizeLargeTitles"
        background="blurBottom"
        cardStyle="glass-depth"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Programs",
          id: "/programs",
        },
        {
          name: "Impact",
          id: "/impact",
        },
        {
          name: "Camp",
          id: "/camp",
        },
        {
          name: "Get Involved",
          id: "/involved",
        },
        {
          name: "Donate",
          id: "/donate",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="MAD PARK Community"
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="Empower Our Mission"
      description="Your contribution ensures our programs remain accessible and free for all families who need them."
      imageSrc="http://img.b2bpic.net/free-photo/charity-donation-heart-graphic-concept_53876-122594.jpg"
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Your Dollars at Work"
      tag="Transparency"
      metrics={[
        {
          id: "md1",
          value: "$50",
          description: "Supplies for one scholar",
        },
        {
          id: "md2",
          value: "$250",
          description: "Fully funded weekly program",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="MAD PARK Community"
      leftLink={{
        text: "Privacy Policy",
        href: "#",
      }}
      rightLink={{
        text: "© 2024 MAD PARK Community. All rights reserved.",
        href: "#",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
