diff --git a/src/components/sections/ContactSection.tsx b/src/components/sections/ContactSection.tsx new file mode 100644 index 0000000..3e5b033 --- /dev/null +++ b/src/components/sections/ContactSection.tsx @@ -0,0 +1,62 @@ +'use client' +import { Mail, MapPin, MessageCircle, Phone } from 'lucide-react' +import Input from "@/components/ui/Input" +import Button from "@/components/ui/Button" +import { useState } from "react" + +export default function ContactSection() { + const [formData, setFormData] = useState({ name: "", email: "", message: "" }) + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + } + const contactDetails = [ + { icon: MapPin, label: "Address", value: "42 Buitenkant Street, Cape Town City Centre, 8001" }, + { icon: Phone, label: "Phone", value: "+27 21 555 0199" }, + { icon: Mail, label: "Email", value: "hello@kaparoast.co.za" }, + { icon: MessageCircle, label: "WhatsApp", value: "+27 82 123 4567" }, + ] + return ( +
+
+

Get in Touch

+
+
+

Contact Details

+
+ {contactDetails.map((item, i) => { + const Icon = item.icon + return ( +
+ +
+

{item.label}

+

{item.value}

+
+
+ ) + })} +
+
+
+

Send a Message

+
+
+ + setFormData({...formData, name: e.target.value})} required /> +
+
+ + setFormData({...formData, email: e.target.value})} required /> +
+
+ +