"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';

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="about-details" data-section="about-details">
      <InlineImageSplitTextAbout
      useInvertedBackground={false}
      heading={[
        {
          type: "text",
          content: "Welcome to Teddy's Cafe",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/asian-style-lunch-with-noodles-with-chicken-teriyaki-sauce-vegetables-spices-microgreens_166373-741.jpg",
          alt: "Teddy's Cafe Interior",
        },
      ]}
      buttons={[
        {
          text: "Visit Us",
          href: "/visit",
        },
      ]}
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Story"
      description="From small kitchen to community favorite."
      features={[
        {
          title: "Our Heritage",
          description: "Passion for fusion.",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-eating-restaurant_23-2150491778.jpg",
        },
        {
          title: "Local Focus",
          description: "Supporting Anaheim.",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-enjoying-dinner-party_52683-132626.jpg",
        },
      ]}
    />
  </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=3"
      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>
  );
}
