From 0104f9ac89b0eb9f2aeb76e4c0d5f42f9e744a22 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 15 Apr 2026 14:31:44 +0000 Subject: [PATCH] Switch to version 3: modified src/app/page.tsx --- src/app/page.tsx | 111 ++++++++++++++++++++++++++--------------------- 1 file changed, 62 insertions(+), 49 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 559d801..a83d7da 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,35 +1,20 @@ "use client"; -import ReactLenis, { useLenis } from "lenis/react"; +import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel"; import FeatureBento from "@/components/sections/feature/FeatureBento"; +import FeatureCardTwentySix from "@/components/sections/feature/FeatureCardTwentySix"; import FeatureCardSixteen from "@/components/sections/feature/FeatureCardSixteen"; import PricingCardFive from "@/components/sections/pricing/PricingCardFive"; +import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve"; import FaqBase from "@/components/sections/faq/FaqBase"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBase from "@/components/sections/footer/FooterBase"; -import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve"; -import { Sparkles, Utensils, Award, Smile, Star } from "lucide-react"; +import { Sparkles, Utensils, Award, Star, Smile } from "lucide-react"; export default function BuffetPage() { - const lenis = useLenis(); - - const handleScroll = (id: string) => { - if (!id) return; - const targetId = id.replace(/^#+/, ""); - const element = document.getElementById(targetId); - if (element && lenis) { - lenis.scrollTo(element); - } else { - const target = document.getElementById(targetId); - if (target) { - target.scrollIntoView({ behavior: "smooth" }); - } - } - }; - return ( @@ -49,15 +34,13 @@ export default function BuffetPage() { navItems={[ { name: "Menu", id: "menu" }, { name: "Pricing", id: "pricing" }, - { name: "Experience", id: "about" }, - { name: "Reserve", id: "contact" }, + { name: "Our Story", id: "/our-story" }, + { name: "Careers", id: "/careers" }, + { name: "Contact Us", id: "/contact-us" }, ]} - button={{ - text: "Book Now", - onClick: () => handleScroll("#contact") - }} + button={{ text: "Book Now", href: "#contact" }} /> -
handleScroll("#contact") }, - { text: "View Menu", onClick: () => handleScroll("#menu") }, + { text: "Reserve Your Table", href: "#contact" }, + { text: "View Menu", href: "#menu" }, ]} buttonAnimation="slide-up" carouselPosition="right" @@ -81,31 +64,52 @@ export default function BuffetPage() { { imageSrc: "http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934672.jpg", imageAlt: "Chef at work" }, ]} carouselItemClassName="!aspect-[4/5]" - />
- -
+ handleScroll("#contact") }, features: ["All Lunch Stations", "Soft Drinks", "Fresh Sushi Bar"] }, - { id: "dinner", period: "per person", featuresTitle: "Dinner Amenities", tag: "Premium Choice", tagIcon: Award, price: "$29.99", description: "Complete dinner experience with full seafood bar.", button: { text: "Reserve Dinner", onClick: () => handleScroll("#contact") }, features: ["All Lunch Features", "Premium Crab Legs", "Chef Specials"] } + { + id: "lunch", tag: "Most Popular", tagIcon: Star, + price: "$15.99", period: "per person", description: "Full access to our lunch selection until 4:00 PM.", button: { text: "Reserve Lunch", href: "#contact" }, + featuresTitle: "Includes:", features: ["All Lunch Stations", "Soft Drinks", "Fresh Sushi Bar"] + }, + { + id: "dinner", tag: "Premium Choice", tagIcon: Award, + price: "$29.99", period: "per person", description: "Complete dinner experience with full seafood bar.", button: { text: "Reserve Dinner", href: "#contact" }, + featuresTitle: "Includes:", features: ["All Lunch Features", "Premium Crab Legs", "Chef Specials"] + } ]} - />
-
+
+ /> -
handleScroll("#contact") } + { text: "Reserve Now", href: "#contact" } ]} buttonAnimation="slide-up" useInvertedBackground={false} - />
+ />