From fa7549ac53d5a7ecd5e8a4c56b4221529e31396a Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 25 Jul 2026 11:17:59 +0000 Subject: [PATCH] Deploy --- .../SeasonalSanctuaryOffersSection.tsx | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 src/components/sections/SeasonalSanctuaryOffersSection.tsx diff --git a/src/components/sections/SeasonalSanctuaryOffersSection.tsx b/src/components/sections/SeasonalSanctuaryOffersSection.tsx new file mode 100644 index 0000000..f6ec538 --- /dev/null +++ b/src/components/sections/SeasonalSanctuaryOffersSection.tsx @@ -0,0 +1,90 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' +import Link from 'next/link' + +export default function SeasonalSanctuaryOffersSection() { + const { items, loading } = useEmDashContent('promotions') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+
+ + Seasonal Highlights + +

+ Sanctuary Offers +

+

+ Exclusive packages for the perfect escape +

+
+ +
+ {items.map((item) => { + const d = item.data as { + title?: string + description?: string + price?: string + image?: string + } + return ( +
+ {d.image && ( +
+ {d.title +
+ )} +
+

+ {d.title} +

+

+ {d.description} +

+
+ + {d.price} + + + Book Now + +
+
+
+ ) + })} +
+
+
+ ) +}