From e1d8d2d4ff9f3c9ec9c79b40e46891d843ad4039 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:39:01 +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 */} +
+