import { useI18n } from '../../lib/i18n'; import { useScrollReveal } from '../../hooks/useScrollReveal'; const testimonials = [1, 2, 3] as const; export default function TestimonialsSection() { const { t } = useI18n(); const { ref, isVisible } = useScrollReveal(); const colors = ['#f59e0b', '#6366f1', '#30a46c']; return (
{/* Header */}
{t('testimonials.label')}

{t('testimonials.title')}

{/* Cards */}
{testimonials.map((num, i) => (
{/* Quote mark */}
"
{/* Quote text */}

"{t(`testimonials.${num}.quote`)}"

{/* Author */}
{t(`testimonials.${num}.name`).split(' ').map(w => w[0]).join('')}
{t(`testimonials.${num}.name`)}
{t(`testimonials.${num}.role`)}
))}
); }