From 36e1144811fd7da304af5c11266c76cc6f5003a2 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 29 Apr 2026 21:45:17 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 279 ++++++++++++++++++++++++++--------------------- 1 file changed, 152 insertions(+), 127 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b8a6180..a83e3ad 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,8 +2,9 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; +import { useState } from "react"; import BlogCardOne from '@/components/sections/blog/BlogCardOne'; -import ContactSplit from '@/components/sections/contact/ContactSplit'; +import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel'; import MetricCardOne from '@/components/sections/metrics/MetricCardOne'; @@ -14,6 +15,8 @@ import TextSplitAbout from '@/components/sections/about/TextSplitAbout'; import { Award, Star, Users } from "lucide-react"; export default function LandingPage() { + const [isReservationModalOpen, setIsReservationModalOpen] = useState(false); + return ( - + -
- -
+
+ setIsReservationModalOpen(true) }, + ]} + carouselItems={[ + { id: "1", imageSrc: "http://img.b2bpic.net/free-photo/tasty-boiled-spaghetti-with-sausages-orange-plate_114579-68478.jpg", imageAlt: "Carbonara" }, + { id: "2", imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-anime-style-pizza_23-2151061952.jpg", imageAlt: "Pizza" }, + { id: "3", imageSrc: "http://img.b2bpic.net/free-photo/pieces-pizza-table_23-2147772070.jpg", imageAlt: "Risotto" }, + { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-cheesecake-with-strawberry-chocolate-plate-red-shawl-dark-isolated-background_140725-136688.jpg", imageAlt: "Tiramisu" }, + { id: "5", imageSrc: "http://img.b2bpic.net/free-photo/horizontal-shot-plate-with-canapes-with-ham-cherry-tomatoes-black-olives-decorated-with-rucola-rucoli-plant-edible-vegetables-bacon-jamon-appetizers-menu-restaurant_7502-5815.jpg", imageAlt: "Bruschetta" }, + { id: "6", imageSrc: "http://img.b2bpic.net/free-photo/delicious-high-quality-wine-still-life_23-2149710957.jpg", imageAlt: "Wine" }, + ]} + /> +
-
- -
+
+ +
- + -
- -
+
+ +
-
- -
+
+ +
- + -
- -
+
+ { console.log("Reservation requested:", data); setIsReservationModalOpen(false); }} + /> +
- + + {isReservationModalOpen && ( +
+
+ { console.log("Reservation confirmed:", data); setIsReservationModalOpen(false); }} + /> + +
+
+ )}
); -} \ No newline at end of file +} -- 2.49.1