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 ( +
+ Professional and flexible — we accommodate your travel schedule. +
+| Day | +Open | +Close | +Notes | +
|---|---|---|---|
| + {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. +
+