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 ( +
+
+ + {/* ── Hero ── */} +
+
+ Contact +

GET IN TOUCH

+

Drop by, call, or send us a message. We would love to hear from you.

+
+
+ +
+
+ {/* ── Info + Map ── */} +
+ + +
+ +
Address
750 Iron Avenue, Los Angeles, CA 90015
+
+
+ +
Phone
(213) 555-0247
+
+
+ +
Email
hello@apexfitness.com
+
+
+
+ + {/* Map placeholder */} +
+
+ +

Interactive map loads here

+
+
+ + {/* Hours */} + + +

Hours

+
+
Monday – Friday5:00 AM – 11:00 PM
+
Saturday6:00 AM – 10:00 PM
+
Sunday7:00 AM – 8:00 PM
+
+
+
+
+ + {/* ── Form ── */} + + +

Send a Message

+
+
+ + setForm({...form, name: e.target.value})} placeholder="Your full name" className="bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500" /> +
+
+ + setForm({...form, email: e.target.value})} type="email" placeholder="your@email.com" className="bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500" /> +
+
+ + setForm({...form, phone: e.target.value})} placeholder="(555) 000-0000" className="bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500" /> +
+
+ +