"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="large"
        background="none"
        cardStyle="inset"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Accueil",
          id: "/",
        },
        {
          name: "L'équipe",
          id: "/equipe",
        },
        {
          name: "Première consultation",
          id: "/consultation",
        },
        {
          name: "Traitements",
          id: "/traitements",
        },
        {
          name: "Actualités",
          id: "/actualites",
        },
        {
          name: "Nous contacter",
          id: "/contact",
        },
      ]}
      brandName="OCLV Orthodontie"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Contact"
      title="Nous trouver"
      description="En plein cœur d'Orléans."
      imageSrc="http://img.b2bpic.net/free-photo/monochrome-portrait-woman-showing-vulnerability-self-acceptance_23-2151237458.jpg"
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureCardTwentyThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Horaires"
      description="Nous sommes là pour vous."
      features={[
        {
          id: "h1",
          title: "Lun - Ven: 9h-18h",
          tags: [
            "Horaires",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/wise-doctor-with-stethoscope_1098-140.jpg?_wi=4",
          imageAlt: "male patient portrait dental",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="OCLV"
      columns={[
        {
          title: "Informations",
          items: [
            {
              label: "Contact",
              href: "/contact",
            },
            {
              label: "Mentions Légales",
              href: "#",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
