From eca2d9c82ceed3d9ff28d0fcd40a78c5c8d5ec63 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 1 Aug 2026 16:26:34 +0000 Subject: [PATCH] Deploy --- src/components/sections/SowetoBaseSection.tsx | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/components/sections/SowetoBaseSection.tsx diff --git a/src/components/sections/SowetoBaseSection.tsx b/src/components/sections/SowetoBaseSection.tsx new file mode 100644 index 0000000..662a256 --- /dev/null +++ b/src/components/sections/SowetoBaseSection.tsx @@ -0,0 +1,83 @@ +'use client' + +import { useVulaContent } from '@/hooks/useVulaContent' +import Image from 'next/image' +import { Mail, MapPin, Phone } from 'lucide-react' +import Button from '@/components/ui/Button' + +export default function SowetoBaseSection() { + const { items, loading } = useVulaContent('business_hours') + + if (loading) return ( +
+
+
+ ) + if (items.length === 0) return null + + const hours = items.map(item => item.data as { day_of_week?: string; open_time?: string; close_time?: string; is_closed?: boolean; note?: string }) + + return ( +
+
+
+
+ Soweto landscape +
+
+
+

Soweto Base

+

Based in Soweto, Mzansi. Amaproud.

+
+
+
+ +
+

Kasi Wear Studio

+

123 Vilakazi Street, Orlando West

+

Soweto, 1804, Gauteng, South Africa

+
+
+ + +
+
+

Trading Hours

+
+ {hours.map((h, idx) => ( +
+ {h.day_of_week} + {h.is_closed ? ( + Closed + ) : ( + {h.open_time} – {h.close_time} + )} + {h.note && {h.note}} +
+ ))} +
+
+ +
+
+
+
+ ) +}