From f2d0027204575169b124ba19571a43006ba68adb Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 23 Jun 2026 08:38:46 +0000 Subject: [PATCH] Deploy --- .../sections/BusinessHoursSection.tsx | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 src/components/sections/BusinessHoursSection.tsx diff --git a/src/components/sections/BusinessHoursSection.tsx b/src/components/sections/BusinessHoursSection.tsx new file mode 100644 index 0000000..4ccce2e --- /dev/null +++ b/src/components/sections/BusinessHoursSection.tsx @@ -0,0 +1,95 @@ +'use client' + +import { useEmDashContent } from "@/hooks/useEmDashContent" +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/Card" +import { Clock } from 'lucide-react' + +export default function BusinessHoursSection() { + const { items, loading } = useEmDashContent("business_hours") + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+
+ +

Business Hours

+

+ Professional and flexible — we accommodate your travel schedule. +

+
+ + + + Reception & Services + + +
+ + + + + + + + + + + {items.map((item) => { + const d = item.data as { + day_of_week?: string + open_time?: string + close_time?: string + is_closed?: boolean + note?: string + } + return ( + + + + + + + ) + })} + +
DayOpenCloseNotes
+ {d.is_closed ? ( + {d.day_of_week || "—"} (Closed) + ) : ( + d.day_of_week || "—" + )} + + {d.is_closed ? "—" : d.open_time || "—"} + + {d.is_closed ? "—" : d.close_time || "—"} + + {d.note || ""} +
+
+
+

+ Early airport transfers: Please request at least 24 hours in advance. + We offer flexible check-in and check-out times based on flight schedules. +

+
+
+
+
+
+ ) +} \ No newline at end of file