From 20547a21ba6b21f1bc534579524d9577ee20803a Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:32 +0000 Subject: [PATCH] Deploy --- .../sections/MashobaneContactSection.tsx | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/components/sections/MashobaneContactSection.tsx diff --git a/src/components/sections/MashobaneContactSection.tsx b/src/components/sections/MashobaneContactSection.tsx new file mode 100644 index 0000000..523fc21 --- /dev/null +++ b/src/components/sections/MashobaneContactSection.tsx @@ -0,0 +1,122 @@ +'use client' + +import { useEmDashContent } from "@/hooks/useEmDashContent" +import { Clock, Mail, MapPin, Phone } from 'lucide-react' +import Button from "@/components/ui/Button" +import Input from "@/components/ui/Input" + +export default function MashobaneContactSection() { + const { items, loading } = useEmDashContent("business_hours") + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+
+ {/* Contact Details */} +
+

Contact Us

+
+
+ +
+

Mashobane & Associates

+

+ 123 Aliwal Street
+ Durban Central
+ KwaZulu-Natal, 4001 +

+
+
+ + +
+ +
+

Office Hours

+
+ {items.map((item) => { + const d = item.data as { + day_of_week?: string + open_time?: string + close_time?: string + is_closed?: boolean + note?: string + } + return ( +
+ {d.day_of_week} + {d.is_closed ? ( + Closed + ) : ( + + {d.open_time} – {d.close_time} + {d.note && ({d.note})} + + )} +
+ ) + })} +
+

Public holiday hours may vary.

+
+
+
+ {/* Enquiry form */} +
+

Send a Quick Enquiry

+
+ + +