From 67f2ffab45926980da37595b280f49dad7d7a769 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 28 Jul 2026 07:32:32 +0000 Subject: [PATCH] Deploy --- .../sections/VisitOurPretoriaOasisSection.tsx | 132 ++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 src/components/sections/VisitOurPretoriaOasisSection.tsx diff --git a/src/components/sections/VisitOurPretoriaOasisSection.tsx b/src/components/sections/VisitOurPretoriaOasisSection.tsx new file mode 100644 index 0000000..87c738e --- /dev/null +++ b/src/components/sections/VisitOurPretoriaOasisSection.tsx @@ -0,0 +1,132 @@ +'use client' + +import { useVulaContent } from "@/hooks/useVulaContent" +import { ArrowRight, Clock, MapPin } from 'lucide-react' +import Button from "@/components/ui/Button" +import Image from "next/image" + +export default function VisitOurPretoriaOasisSection() { + const { items, loading } = useVulaContent("business_hours") + + // Hooks must be before early returns + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + const 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 + }) + + return ( +
+
+
+
+

+ Visit our little oasis in Pretoria +

+

+ Come smell the botanicals, feel the textures, and meet the hands that + craft each batch. Our workshop door is always open — just knock and + say you're from the land of marula. +

+ +
+
+ +
+

Ndlovu Naturals Workshop

+

+ 123 Lynnwood Road, Pretoria,
Gauteng 0002 +

+
+
+ +
+ +
+

Opening hours

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

+ {hours.find((h) => h.note)?.note} +

+ )} +
+
+
+
+ + +
+ +
+ Ndlovu Naturals workshop interior +
+
+ + {/* Map embed */} +
+