diff --git a/src/components/sections/RegalExclusiveOffersSection.tsx b/src/components/sections/RegalExclusiveOffersSection.tsx new file mode 100644 index 0000000..cfddbe5 --- /dev/null +++ b/src/components/sections/RegalExclusiveOffersSection.tsx @@ -0,0 +1,52 @@ +'use client' + +import { useEmDashContent } from '@/hooks/useEmDashContent' +import Image from 'next/image' +import Button from '@/components/ui/Button' +import { Card, CardContent, CardFooter, CardHeader, CardTitle } from '@/components/ui/Card' + +export default function RegalExclusiveOffersSection() { + const { items, loading } = useEmDashContent('offers') + + if (loading) return
+ Special packages and seasonal deals crafted for our valued guests +
+{d.description}
+ {d.price &&R {d.price}
} + {d.duration &&Duration: {d.duration}
} + {d.valid_until && ( +Valid until: {new Date(d.valid_until).toLocaleDateString("en-ZA", { year: "numeric", month: "long", day: "numeric" })}
+ )} +