From 3d6bb031e4dcf3020990ab58caeef792c121a4a4 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:47:31 +0000 Subject: [PATCH] Deploy --- .../sections/LocationHoursSection.tsx | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 src/components/sections/LocationHoursSection.tsx diff --git a/src/components/sections/LocationHoursSection.tsx b/src/components/sections/LocationHoursSection.tsx new file mode 100644 index 0000000..e1b3bb2 --- /dev/null +++ b/src/components/sections/LocationHoursSection.tsx @@ -0,0 +1,86 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' + +export default function LocationHoursSection() { + const { items, loading } = useEmDashContent('business_hours') + + 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 ( +
+
+

Find Us

+
+ {/* Map */} +
+