diff --git a/src/pages/Contact.tsx b/src/pages/Contact.tsx new file mode 100644 index 0000000..dc16539 --- /dev/null +++ b/src/pages/Contact.tsx @@ -0,0 +1,113 @@ +import { useState } from "react"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; +import { Badge } from "@/components/ui/badge"; +import { Input } from "@/components/ui/input"; +import { Textarea } from "@/components/ui/textarea"; +import { MapPin, Phone, Mail, Clock, Send } from "lucide-react"; +import { toast } from "sonner"; +import Header from "@/components/Header"; +import Footer from "@/components/Footer"; + +export default function Contact() { + const [form, setForm] = useState({ name: "", email: "", phone: "", message: "" }); + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + if (!form.name || !form.email || !form.message) { + toast.error("Please fill in all required fields."); + return; + } + toast.success("Message sent! We will get back to you within 24 hours."); + setForm({ name: "", email: "", phone: "", message: "" }); + }; + + return ( +
Drop by, call, or send us a message. We would love to hear from you.
+Interactive map loads here
+