From d8fbcf1346c49ca7183a83909bdb21c1b62e4669 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Wed, 15 Jul 2026 09:25:28 +0000 Subject: [PATCH] Deploy --- .../sections/SeasonalSpecialsSection.tsx | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/components/sections/SeasonalSpecialsSection.tsx diff --git a/src/components/sections/SeasonalSpecialsSection.tsx b/src/components/sections/SeasonalSpecialsSection.tsx new file mode 100644 index 0000000..b0f53a1 --- /dev/null +++ b/src/components/sections/SeasonalSpecialsSection.tsx @@ -0,0 +1,85 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' +import { Card, CardHeader, CardTitle, CardContent, CardFooter } from '@/components/ui/Card' +import Button from '@/components/ui/Button' + +export default function SeasonalSpecialsSection() { + const { items, loading } = useEmDashContent('campaigns') + + if (loading) { + return ( +
+
+
+ ) + } + + if (items.length === 0) return null + + return ( +
+
+

+ Baked before sunrise, gone by noon. +

+

+ Limited-time packages crafted for unhurried escapes. +

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

+ {d.headline} +

+ )} + + {d.title || 'Untitled'} + +
+ +

+ {d.body || ''} +

+
+ + + +
+ ) + })} +
+
+
+ ) +}