diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..c2b6fc3 --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,81 @@ +'use client' + +import { useState } from 'react' +import Button from '@/components/ui/Button' +import Input from '@/components/ui/Input' +import { Mail, MapPin, Phone } from 'lucide-react' + +export default function ContactSection() { + const [name, setName] = useState('') + const [email, setEmail] = useState('') + const [message, setMessage] = useState('') + const [sent, setSent] = useState(false) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + setSent(true) + } + + const contactInfo = [ + { icon: MapPin, label: "Sandton, Johannesburg, 2196", href: null }, + { icon: Phone, label: "+27 11 234 5678", href: "tel:+27112345678" }, + { icon: Mail, label: "info@mtungwapartners.co.za", href: "mailto:info@mtungwapartners.co.za" } + ] + + return ( +
+
+
+
+ Get in Touch +

Contact Our Team

+

Reach out for a confidential consultation. Our attorneys are ready to assist with your legal matters.

+
+ {contactInfo.map((item, idx) => { + const Icon = item.icon + return ( +
+
+ +
+
+ {item.href ? ( + {item.label} + ) : ( +

{item.label}

+ )} +
+
+ ) + })} +
+
+
+ {sent ? ( +
+

Message Sent

+

We will respond within 24 hours.

+
+ ) : ( +
+ setName(e.target.value)} required /> + setEmail(e.target.value)} required /> +