'use client';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function CartPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Cart", id: "/cart" },
    { name: "Checkout", id: "/checkout" },
    { name: "Order Conf", id: "/order-confirmation" }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered navItems={navItems} brandName="Webild" logoSrc="https://via.placeholder.com/40" />
      </div>
      <main className="flex min-h-screen flex-col items-center justify-between p-24">
        <div id="social-proof-section" data-section="social-proof-section">
          <SocialProofOne
            title="Your Shopping Cart"
            description="Review your items before checkout."
            names={['Item 1', 'Item 2', 'Item 3']}
            textboxLayout="default"
            showCard={true}
            useInvertedBackground={false}
          />
        </div>
      </main>
      <FooterBaseReveal
        logoText="Webild"
        columns={[
          {
            title: "Company",            items: [
              { label: "About Us", href: "/" },
              { label: "Contact", href: "/" },
            ],
          },
          {
            title: "Legal",            items: [
              { label: "Privacy Policy", href: "/" },
              { label: "Terms of Service", href: "/" },
            ],
          },
        ]}
        copyrightText="© 2023 Webild. All rights reserved."
      />
    </ThemeProvider>
  );
}
