"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterMedia from '@/components/sections/footer/FooterMedia';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Order",
          id: "/order",
        },
        {
          name: "Visit",
          id: "/visit",
        },
      ]}
      brandName="Teddy's Cafe"
    />
  </div>

  <div id="product" data-section="product">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Ready to Order?"
      description="Order online for quick pickup."
      products={[
        {
          id: "p1",
          name: "Teriyaki Bowl",
          price: "$9.99",
          imageSrc: "http://img.b2bpic.net/free-photo/purple-rice-berries-with-beans-carrot-mint-leaves-bowl_1150-19876.jpg",
        },
        {
          id: "p2",
          name: "Poke Bowl",
          price: "$13.99",
          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-composition-hawaiian-poke-bowl_23-2148873887.jpg",
        },
      ]}
    />
  </div>

  <div id="metric" data-section="metric">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Ordering Stats"
      tag="Quick Service"
      metrics={[
        {
          id: "stat1",
          value: "15m",
          description: "Average Wait",
        },
        {
          id: "stat2",
          value: "98%",
          description: "Accuracy Rate",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/colorful-poke-bowl-with-salmon-avocado-seaweed-served-bed-rice_9975-124822.jpg?_wi=4"
      logoText="Teddy's Cafe"
      columns={[
        {
          title: "Menu",
          items: [
            {
              label: "Appetizers",
              href: "/menu",
            },
            {
              label: "Burgers",
              href: "/menu",
            },
            {
              label: "Sushi",
              href: "/menu",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About",
              href: "/about",
            },
            {
              label: "Visit Us",
              href: "/visit",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Order Online",
              href: "/order",
            },
            {
              label: "Contact",
              href: "/visit",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
