"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumSizeLargeTitles"
        background="grid"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About",          id: "/about"},
        {
          name: "Courses",          id: "/courses"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      brandName="Wisdom Science & Maths"
    />
  </div>

  <div id="courses-list" data-section="courses-list">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",          name: "Grade 6-11 Science",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/group-three-young-good-looking-multi-ethnic-students-sitting-university-library-dark-skinned-guy-looking-back-his-friend-reading-article-light-haired-girl-with-happy-face_176420-8301.jpg"},
        {
          id: "p2",          name: "Grade 6-11 Math",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/young-students-posing-camera_23-2147663796.jpg"},
        {
          id: "p3",          name: "O/L Revision",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/excited-colleagues-discussing-some-questions-library_74855-1834.jpg"},
        {
          id: "p4",          name: "English Medium",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/room-interior-design_23-2148899442.jpg"},
        {
          id: "p5",          name: "Sinhala Medium",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/people-working-tech-brand-together_23-2150966126.jpg"},
        {
          id: "p6",          name: "Advanced Science",          price: "Enrolling",          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-teacher-wearing-glasses-with-hourglass-looking-it-surprised-preparing-lesson-sitting-school-desk-front-blackboard-classroom_141793-62370.jpg"},
      ]}
      title="Our Programs"
      description="Curated programs for academic excellence."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      description="What our students say about us."
      testimonials={[
        {
          id: "1",          name: "Sarah",          handle: "@student",          testimonial: "Best tuition centre in the region!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/good-looking-cute-girl-trendy-yellow-overalls-t-shirt-smiling-broadly-with-joyful-happy-expression_176420-27053.jpg"},
        {
          id: "2",          name: "John",          handle: "@student",          testimonial: "Changed my math marks significantly.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiling-pretty-girl-against-white-background_23-2147839610.jpg"},
        {
          id: "3",          name: "Mary",          handle: "@student",          testimonial: "Excellent O/L revision programs.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/image-college-student-man-holding-notebooks_197531-33462.jpg"},
        {
          id: "4",          name: "Tom",          handle: "@student",          testimonial: "Highly recommended teachers.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/content-stylish-student-posing-table_23-2147666655.jpg"},
        {
          id: "5",          name: "Jane",          handle: "@student",          testimonial: "Small groups helped me grow.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13227.jpg"},
      ]}
      showRating={true}
      title="Student Success Stories"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "About",              href: "/about"},
            {
              label: "Courses",              href: "/courses"},
          ],
        },
        {
          items: [
            {
              label: "Contact Us",              href: "/contact"},
            {
              label: "Schedule",              href: "#"},
          ],
        },
      ]}
      logoText="Wisdom Science & Maths"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
