'use client' import { useEmDashContent } from '@/hooks/useEmDashContent' import Image from 'next/image' export default function GuestRavesSection() { const { items, loading } = useEmDashContent('posts') if (loading) return
if (items.length === 0) return null const testimonials = items.slice(0, 3) if (testimonials.length === 0) return null return (

What our guests say

Real stories from travellers who found more than a room—they found a home in the Mara.

{testimonials.map((item) => { const d = item.data as { title?: string; excerpt?: string; author?: string; image?: string } return (
★★★★★

"{d.excerpt}"

{d.image && (
{d.author
)}

{d.author || 'Guest'}

{d.title &&

{d.title}

}
) })}
) }