'use client'; import TESTIMONIALS from '@/data/testimonials.json'; import { buttonVariants } from '@components'; import { motion, useInView } from 'framer-motion'; import Image from 'next/image'; import Link from 'next/link'; import { useRef } from 'react'; import { FaQuoteLeft } from 'react-icons/fa'; export function TestimonialSection() { const ref = useRef(null); const isInView = useInView(ref, { once: true, amount: 0.1 }); const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.1, delayChildren: 0.2, }, }, }; const itemVariants = { hidden: { y: 20, opacity: 0 }, visible: { y: 0, opacity: 1, transition: { duration: 0.4, ease: [0.25, 0.46, 0.45, 0.94], }, }, }; return (

Apa Kata Mereka Tentang Komunitas Kami?

{TESTIMONIALS.map((testimonial) => (
{testimonial.name}

{testimonial.name}

{testimonial.role}

{testimonial.text}

))}
Tulis Testimonimu
); }