diff --git a/src/app/page.tsx b/src/app/page.tsx index 0cb97b3..55ffa28 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,9 +9,32 @@ import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNinete import ContactCTA from '@/components/sections/contact/ContactCTA'; import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; -import { Crown, Utensils, Users, Award, Flame, Star, UtensilsCrossed, MapPin } from 'lucide-react'; +import { Crown, Utensils, Users, Award, Flame, Star, UtensilsCrossed, MapPin, Phone, Clock, MapPinIcon, Facebook, Instagram, Twitter, MessageCircle, ShoppingCart } from 'lucide-react'; +import React, { useState } from 'react'; export default function LandingPage() { + const [formData, setFormData] = useState({ name: '', email: '', phone: '', date: '', time: '', guests: '' }); + const [showOrderButton, setShowOrderButton] = useState(false); + + React.useEffect(() => { + const handleScroll = () => { + setShowOrderButton(window.scrollY > 300); + }; + window.addEventListener('scroll', handleScroll); + return () => window.removeEventListener('scroll', handleScroll); + }, []); + + const handleFormSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log('Reservation submitted:', formData); + setFormData({ name: '', email: '', phone: '', date: '', time: '', guests: '' }); + }; + + const handleFormChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData(prev => ({ ...prev, [name]: value })); + }; + return ( + {/* Special Offers Banner */} +
+

🎉 Special Offer: 20% OFF on orders above ₹500 | Use Code: SKYROOFX20

+
+ + {/* Floating WhatsApp Order Button */} + + + + + {/* Sticky Order Now Button */} + {showOrderButton && ( +
+ + + Order Now + +
+ )} + + {/* Contact & Location Section with Reservation Form and Google Maps Integration */} +
+
+
+ {/* Location Info and Reservation Form */} +
+
+

Visit Sky Roof

+

Experience premium Indian dining in the heart of Vadodara

+
+ + {/* Address, Phone, Hours */} +
+
+ +
+

Location

+

123 Rooftop Avenue, Vadodara, Gujarat 390001

+
+
+ +
+ +
+

Phone

+

+91-9876-543-210

+
+
+ +
+ +
+

Opening Hours

+

11:00 AM - 11:00 PM (Daily)

+
+
+
+ + {/* Reservation Form */} +
+

Book a Table

+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+ + {/* Google Maps Embed and Info */} +
+ {/* Google Maps Iframe */} +
+ +
+ + {/* Quick Actions */} + +
+
+
+
+