Update src/app/contact/page.tsx
This commit is contained in:
@@ -9,13 +9,7 @@ import { useState } from "react";
|
||||
|
||||
export default function ContactPage() {
|
||||
const [formData, setFormData] = useState({
|
||||
name: "",
|
||||
email: "",
|
||||
phone: "",
|
||||
checkInDate: "",
|
||||
checkOutDate: "",
|
||||
message: "",
|
||||
});
|
||||
name: "", email: "", phone: "", checkInDate: "", checkOutDate: "", message: ""});
|
||||
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
@@ -70,13 +64,7 @@ export default function ContactPage() {
|
||||
console.log("Form submitted:", formData);
|
||||
alert("Thank you! We will contact you shortly to confirm your booking.");
|
||||
setFormData({
|
||||
name: "",
|
||||
email: "",
|
||||
phone: "",
|
||||
checkInDate: "",
|
||||
checkOutDate: "",
|
||||
message: "",
|
||||
});
|
||||
name: "", email: "", phone: "", checkInDate: "", checkOutDate: "", message: ""});
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -271,7 +259,7 @@ export default function ContactPage() {
|
||||
{ text: "Chat on WhatsApp", href: "https://wa.me/919585644000" },
|
||||
{ text: "View Location", href: "/location" },
|
||||
]}
|
||||
background={{ variant: "none" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user