From 25dbe07aaa05da0c28e3dfa56178b3b027a7f8db Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Thu, 4 Jun 2026 09:17:01 +0000 Subject: [PATCH] Deploy --- src/components/sections/ContactSection.tsx | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/components/sections/ContactSection.tsx 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 /> +
+
+ +