const testimonials = [ { id: "marko", name: "Marko Stojković", logo: "/logo-marko.svg", logoW: 143, logoH: 19, text: "A brilliant creative partner who transformed our vision into a unique, high-impact brand identity. Their ability to craft everything from custom mascots to polished logos is truly impressive.", rotation: "-6.85deg", left: 102, top: 142, }, { id: "lukas", name: "Lukas Weber", logo: "/logo-lukas.svg", logoW: 138, logoH: 19, text: "Professional, precise, and incredibly fast at handling complex product visualizations and templates.", rotation: "2.9deg", left: 676, top: 272, }, { id: "sarah", name: "Sarah Jenkins", logo: "/logo-sarah.svg", logoW: 109, logoH: 31, text: "A strategic partner who balances stunning aesthetics with high-performance UX for complex platforms. They don't just make things look good; they solve business problems through visual clarity.", rotation: "2.23deg", left: 305, top: 553, }, { id: "sofia", name: "Sofia Martínez", logo: "/logo-sofia.svg", logoW: 81, logoH: 36, text: "An incredibly versatile designer who delivers consistent quality across a wide range of styles and formats.", rotation: "-4.15deg", left: 987, top: 546, }, ]; function Card({ logo, logoW, logoH, name, text, }: (typeof testimonials)[number]) { return (
{/* eslint-disable-next-line @next/next/no-img-element */} {name}

{text}

{name}

); } export function Testimonials() { return (
{/* ── Mobile: simple stacked column ── */}

Testimonials

{testimonials.map((t) => (
{/* on mobile, reset width to full */}
{/* eslint-disable-next-line @next/next/no-img-element */} {t.name}

{t.text}

{t.name}

))}
{/* ── Desktop: scattered absolute cards over massive background text ── */}
{/* Background "Testimonials" — in flow so it drives section height, centered vertically with absolute inset trick */}

Testimonials

{/* Cards — z-10 so they sit above the background text */} {testimonials.map((t) => (
))}
); }