diff --git a/src/components/sections/VineyardEscapeSpecialsSection.tsx b/src/components/sections/VineyardEscapeSpecialsSection.tsx new file mode 100644 index 0000000..47f82eb --- /dev/null +++ b/src/components/sections/VineyardEscapeSpecialsSection.tsx @@ -0,0 +1,67 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '@/components/ui/Card' +import Image from 'next/image' +import Button from '@/components/ui/Button' + +export default function VineyardEscapeSpecialsSection() { + const { items, loading } = useEmDashContent('campaigns') + + if (loading) return
+ if (items.length === 0) return null + + return ( +
+
+
+

Seasonal escapes

+

+ Harvest specials & romantic packages +

+

+ Curated for couples exploring the winelands — from cellar tours to sunset picnics. +

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

{d.body}

} +
+ + Available for a limited season +
+
+ {d.cta_text && ( + + + + )} +
+ ) + })} +
+
+
+ ) +} \ No newline at end of file