diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..1a1b356 --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,138 @@ +'use client' + +import { useState } from 'react' +import { Camera, Globe, Mail, MapPin, MessageCircle, Phone, Video } from 'lucide-react' +import Button from '@/components/ui/Button' +import Input from '@/components/ui/Input' + +export default function ContactSection() { + const [form, setForm] = useState({ name: '', email: '', message: '' }) + const [sent, setSent] = useState(false) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + if (form.name && form.email && form.message) { + setSent(true) + setForm({ name: '', email: '', message: '' }) + } + } + + const contactDetails = { + address: '123 Vilakazi Street, Orlando West, Soweto, 1804', + phone: '+27 11 123 4567', + email: 'info@mzansiurban.co.za', + whatsapp: '+27 11 123 4567' + } + + return ( +
+
+ {/* Left: Form + contact info */} +
+

+ Get in Touch +

+

+ Collabs, stockist enquiries, or just to holler. +

+ + {sent ? ( +

+ Message received. We'll hit you back within 48 hours. +

+ ) : ( +
+ setForm({ ...form, name: e.target.value })} + required + className="border-2 border-black bg-white text-black placeholder-gray-500 px-4 py-3 uppercase text-sm" + /> + setForm({ ...form, email: e.target.value })} + required + className="border-2 border-black bg-white text-black placeholder-gray-500 px-4 py-3 uppercase text-sm" + /> +