import Image from "next/image"; import { Reveal, RevealGroup, RevealItem } from "./Reveal"; import type { Testimonial } from "../lib/payload"; // Shared by /todo-cards, /newsletter, and /challenge — all three were // already pixel-identical (bg-muted filled card, no border, decorative // quote-mark, quote on top with flex-1 pushing the avatar/name row to the // bottom, hover-lift + avatar-scale), kept in sync deliberately as one // visual pattern across pages rather than each page's own (differing) // Figma spec for this one section. max-w-[1600px] matches Challenge's // testimonial container cap, the widest of the three original values — // a deliberate compromise so all three read consistently across viewports // instead of one looking narrower than the others past ~1440px. export function TestimonialsGrid({ testimonials }: { testimonials: Testimonial[] }) { if (testimonials.length === 0) return null; return (
Was andere sagen {testimonials.map((t) => (

{t.quote}

{t.name}

{t.name}

{t.role}

))}
); }