diff --git a/src/components/sections/SpecialsSection.tsx b/src/components/sections/SpecialsSection.tsx new file mode 100644 index 0000000..d996d2d --- /dev/null +++ b/src/components/sections/SpecialsSection.tsx @@ -0,0 +1,87 @@ +'use client' + +import { useEmDashContent } from "@/hooks/useEmDashContent" +import Image from "next/image" +import Link from "next/link" +import { Card, CardContent } from "@/components/ui/Card" +import Badge from "@/components/ui/Badge" +import Button from "@/components/ui/Button" + +export default function SpecialsSection() { + const { items, loading } = useEmDashContent("promotions") + // Hooks must be declared before any early returns + + if (loading) { + return ( +
+ Limited Offers +
++ Exclusive packages and seasonal deals crafted for unforgettable stays. +
++ {d.description} +
+ + + +