"use client"; import { useEffect, useRef } from "react"; import Image from "next/image"; import { testimonials4 } from "@/data/testimonials"; export default function Testimonials7() { const isotopContainer = useRef(); const initIsotop = async () => { const Isotope = (await import("isotope-layout")).default; const imagesloaded = (await import("imagesloaded")).default; // Initialize Isotope in the mounted hook const isotope = new Isotope(isotopContainer.current, { itemSelector: ".item", layoutMode: "masonry", // or 'fitRows', depending on your layout needs }); imagesloaded(isotopContainer.current).on( "progress", function (instance, image) { // Trigger Isotope layout isotope.layout(); } ); }; useEffect(() => { ///////////////////////////////////////////////////// // Magnate Animation setTimeout(() => { initIsotop(); }, 100); }, []); return (

Happy Customers

Don't take our word for it. See what customers are saying about us.

{/* /column */}
{/* /.row */}
{testimonials4.map((testimonial) => (

{testimonial.quote}

image
{testimonial.name}

{testimonial.role}

))}
{/* /.row */}
{/* /.grid-view */}
{/* /.container */}
); }