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

+ Exclusive offers for direct bookers +

+

+ Curated privileges reserved for those who book directly with Molten Rock Private Reserve. +

+
+ {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.headline}

+ )} +

{d.body}

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

+ + Limited availability — rates are subject to change upon confirmation. +

+
+
+
+ ) +}