diff --git a/src/app/page.tsx b/src/app/page.tsx index c40963b..a493779 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,9 +10,28 @@ import MetricCardOne from "@/components/sections/metrics/MetricCardOne"; import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterSimple from "@/components/sections/footer/FooterSimple"; -import { Waves, Info, DoorOpen, Gift, Trophy, Users, Phone, MapPin, Sparkles, Heart, Zap, Star, MessageCircle, Wallet } from "lucide-react"; +import { Waves, Info, DoorOpen, Gift, Trophy, Users, Phone, MapPin, Sparkles, Heart, Zap, Star, MessageCircle, Wallet, MessageSquare } from "lucide-react"; +import { useState } from "react"; export default function LandingPage() { + const [formData, setFormData] = useState({ + name: "", phone: "", checkIn: "", checkOut: "" + }); + + const handleFormChange = (field: string, value: string) => { + setFormData(prev => ({ + ...prev, + [field]: value + })); + }; + + const handleBooking = () => { + if (formData.name && formData.phone && formData.checkIn && formData.checkOut) { + const message = `Booking Request - Name: ${formData.name}, Phone: ${formData.phone}, Check-in: ${formData.checkIn}, Check-out: ${formData.checkOut}`; + window.open(`https://wa.me/919624388777?text=${encodeURIComponent(message)}`); + } + }; + return ( + {/* Floating WhatsApp Button */} + + + + + {/* Sticky Book Now Button */} +
+ +
+ + {/* Booking Form Section */} +
+
+
+

Book Your Stay

+

Fill in your details below and we'll confirm your reservation

+
+ +
+
+ {/* Name Input */} +
+ + handleFormChange('name', e.target.value)} + className="w-full px-4 md:px-3 py-3 md:py-2 sm:py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300 hover:border-blue-400 sm:text-sm" + /> +
+ + {/* Phone Input */} +
+ + handleFormChange('phone', e.target.value)} + className="w-full px-4 md:px-3 py-3 md:py-2 sm:py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300 hover:border-blue-400 sm:text-sm" + /> +
+ + {/* Check-in Date */} +
+ + handleFormChange('checkIn', e.target.value)} + className="w-full px-4 md:px-3 py-3 md:py-2 sm:py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300 hover:border-blue-400 sm:text-sm" + /> +
+ + {/* Check-out Date */} +
+ + handleFormChange('checkOut', e.target.value)} + className="w-full px-4 md:px-3 py-3 md:py-2 sm:py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300 hover:border-blue-400 sm:text-sm" + /> +
+
+ + {/* Submit Button */} + +
+
+ + +
+
); -} \ No newline at end of file +} diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index 4fd73bf..ded95bf 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,15 +10,15 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #ffffff; - --card: #f9f9f9; - --foreground: #000612e6; - --primary-cta: #15479c; + --background: #f5f1e8; + --card: #ffffff; + --foreground: #1a3a3a; + --primary-cta: #0d7a8a; --primary-cta-text: #ffffff; - --secondary-cta: #f9f9f9; + --secondary-cta: #d4af37; --secondary-cta-text: #000612e6; - --accent: #e2e2e2; - --background-accent: #c4c4c4; + --accent: #0d7a8a; + --background-accent: #e8f4f6; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);