diff --git a/app/contact/page.tsx b/app/contact/page.tsx new file mode 100644 index 0000000..123836e --- /dev/null +++ b/app/contact/page.tsx @@ -0,0 +1,170 @@ +"use client"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { Footer } from "@/components/footer"; +import { Button } from "@/components/ui/button"; +import { Input } from "@/components/ui/input"; +import { Textarea } from "@/components/ui/textarea"; +import { Label } from "@/components/ui/label"; +import { MessageCircle, Mail, MapPin } from "lucide-react"; +import { useState } from "react"; + +export default function ContactPage() { + const [formData, setFormData] = useState({ + name: "", + city: "", + budget: "", + destination: "", + travelDate: "", + message: "" + }); + + const handleWhatsAppClick = () => { + window.open("https://wa.me/919999999999?text=Hi, I need help planning my trip", "_blank"); + }; + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + + // Create WhatsApp message with form data + const message = `Hi, I need travel consultation:\n\nName: ${formData.name}\nCity: ${formData.city}\nBudget: ${formData.budget}\nDestination: ${formData.destination}\nTravel Date: ${formData.travelDate}\n\nMessage: ${formData.message}`; + + window.open(`https://wa.me/919999999999?text=${encodeURIComponent(message)}`, "_blank"); + }; + + return ( +
+
+ +
+
+ + Get Free Consultation + +

+ Ready to plan your trip? Reach out to us and we'll help you find the perfect travel option. +

+
+ +
+
+

Contact Us on WhatsApp

+

+ The fastest way to get in touch. We're available to answer your questions and help you plan your trip. +

+ + +
+
+ +
+
Email
+
contact@badnaamsafar.com
+
+
+
+ +
+
Location
+
India
+
+
+
+
+ +
+

Send Us Your Details

+
+
+ + setFormData({...formData, name: e.target.value})} + placeholder="Your full name" + /> +
+ +
+ + setFormData({...formData, city: e.target.value})} + placeholder="Your city" + /> +
+ +
+ + setFormData({...formData, budget: e.target.value})} + placeholder="e.g., ₹15,000 - ₹20,000" + /> +
+ +
+ + setFormData({...formData, destination: e.target.value})} + placeholder="Where do you want to go?" + /> +
+ +
+ + setFormData({...formData, travelDate: e.target.value})} + /> +
+ +
+ +