From d8c016edfd9fce68c556927d92e0b45710a28c5d Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 17 Feb 2026 12:09:00 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 162 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 156 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d9402a7..d2b00d9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,9 +9,32 @@ import ProductCardThree from '@/components/sections/product/ProductCardThree'; import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterMedia from '@/components/sections/footer/FooterMedia'; -import { Castle, Flame, Heart, Leaf, Quote, UtensilsCrossed } from "lucide-react"; +import { Castle, Flame, Heart, Leaf, Quote, UtensilsCrossed, X } from "lucide-react"; +import { useState } from "react"; export default function KazkovyyDimPage() { + const [isModalOpen, setIsModalOpen] = useState(false); + const [formData, setFormData] = useState({ + name: "", email: "", phone: "", eventDate: "", guestCount: "", message: "" + }); + + const handleInputChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData(prev => ({ + ...prev, + [name]: value + })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Booking form submitted:", formData); + setFormData({ + name: "", email: "", phone: "", eventDate: "", guestCount: "", message: "" + }); + setIsModalOpen(false); + }; + return ( setIsModalOpen(true) }} navItemClassName="text-sm font-medium hover:text-primary-cta transition-colors" buttonClassName="bg-primary-cta hover:bg-accent text-white px-6 py-2 rounded-soft transition-all" @@ -63,7 +86,7 @@ export default function KazkovyyDimPage() { rating={5} ratingText="Loved by families and event organizers" buttons={[{ - text: "Book a Table", href: "#contacts" + text: "Book a Table", onClick: () => setIsModalOpen(true) }]} tagAnimation="slide-up" buttonAnimation="slide-up" @@ -109,7 +132,7 @@ export default function KazkovyyDimPage() { tagAnimation="slide-up" buttonAnimation="slide-up" buttons={[{ - text: "Inquire About Events", href: "#contacts" + text: "Inquire About Events", onClick: () => setIsModalOpen(true) }]} features={[ { @@ -204,7 +227,7 @@ export default function KazkovyyDimPage() { textBoxTitleClassName="text-4xl md:text-5xl font-bold text-foreground" textBoxDescriptionClassName="text-lg text-foreground/80" buttons={[{ - text: "Order Now", href: "#contacts" + text: "Order Now", onClick: () => setIsModalOpen(true) }]} buttonAnimation="slide-up" /> @@ -315,6 +338,133 @@ export default function KazkovyyDimPage() { copyrightTextClassName="text-background/70 text-sm" /> + + {isModalOpen && ( +
+
+ + +

Book a Table

+

Reserve your special moment at Kazkovyy Dim

+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +