import { useEffect, useRef } from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faArrowLeft, faArrowRight } from "@fortawesome/free-solid-svg-icons"; import { gsap } from "gsap"; import { ScrollTrigger } from "@/plugins"; import { Navigation, FreeMode } from "swiper"; import { Swiper, SwiperSlide } from "swiper/react"; import Link from "next/link"; import Testimonial31 from "../../../public/assets/imgs/testimonial/4/testimonial-logo1.jpg"; import Testimonial32 from "../../../public/assets/imgs/testimonial/4/testimonial-logo2.jpg"; import Testimonial33 from "../../../public/assets/imgs/testimonial/4/testimonial-logo3.jpg"; import Testimonial34 from "../../../public/assets/imgs/testimonial/4/testimonial-logo4.jpg"; import Testimonial35 from "../../../public/assets/imgs/testimonial/4/testimonial-logo5.jpg"; import Testimonial36 from "../../../public/assets/imgs/testimonial/4/testimonial-logo6.jpg"; import Testimonial37 from "../../../public/assets/imgs/testimonial/4/testimonial-logo7.jpg"; // Import Swiper styles import "swiper/css"; import "swiper/css/navigation"; import "swiper/css/free-mode"; import Image from "next/image"; gsap.registerPlugin(ScrollTrigger); const DigitalMarketingTestimonial = () => { const testimonialArea = useRef(); useEffect(() => { if (typeof window !== "undefined") { let tHero = gsap.context(() => { gsap.set(".animation_image_zoom img", { opacity: 0, scale: 0.5 }); gsap.to(".animation_image_zoom img", { scrollTrigger: { trigger: ".testimonial__area-3", start: "top center+=200", markers: false, }, opacity: 1, scale: 1, x: 20, ease: "power2.out", duration: 2.5, stagger: { each: 0.3, }, }); function imageMoving(wrapper, image_list) { let container = wrapper; try { if (container) { container.addEventListener("mousemove", (e) => { var x = e.clientX; var y = e.clientY; let viewportWidth = window.innerWidth; let viewportHeight = window.innerHeight; let center = viewportWidth / 2; let centerHeight = innerHeight / 2; if (x > center) { gsap.to(image_list, { x: 15, duration: 5, ease: "power4.out", }); } else { gsap.to(image_list, { x: -15, duration: 5, ease: "power4.out", }); } if (y > centerHeight) { gsap.to(image_list, { y: 15, duration: 5, ease: "power4.out", }); } else { gsap.to(image_list, { y: -15, duration: 5, ease: "power4.out", }); } }); } } catch (err) { console.log(err); } } imageMoving(testimonialArea.current, ".testimonial__area-3 img"); }); return () => tHero.revert(); } }, []); return (
// <> //// I’m extremely satisfied with the service provided by SyncROI. My website was launched in a very short time, and the developers have been consistently helpful with any updates and maintenance. // Highly recommend for anyone looking for efficient and reliable web development support! //
//// We are highly satisfied with the professional service provided by SyncROI in developing our website. Their expertise, attention to detail, and commitment to delivering a high-quality product have greatly contributed to the success of our online presence. We highly recommend their services to any organization looking for a reliable and skilled web development partner. //
//// Partnering with SyncROI for our e-commerce platform development was a seamless experience. Their professional approach, technical proficiency, and dedication to delivering a high-quality website have significantly enhanced our online business operations. We are impressed with the results and highly recommend their services for any e-commerce project. //
//// SyncROI has been a crucial technical partner for our SEO projects. Their expertise in technical SEO has greatly enhanced our clients’ website performance and search engine rankings. Their reliable and efficient service has consistently met our high standards. We highly recommend SyncROI for their technical excellence in web development. //
//// Our collaboration with SyncROI has been transformative. They combined creativity with technical skill to deliver a website that exceeds our expectations. Their innovative approach and professionalism set them apart. We highly recommend SyncROI for their exceptional web development services. //
//// SyncROI built a great platform for us. It’s fast, user-friendly, and supports our diverse range of courses perfectly. Simple, effective, and exactly what we needed. //
//// Thanks to SyncROI, our brand identity has reached new heights. Their creative vision and strategic approach have made a noticeable difference in how we connect with our audience. We’re truly impressed by the results they’ve achieved. //
//