"use client"; import Link from "next/link"; import { useRef } from "react"; import { useGSAP } from "@gsap/react"; import gsap from "gsap"; export default function CtaSection() { const sectionRef = useRef(null); const headingRef = useRef(null); const contentRef = useRef(null); useGSAP(() => { if (!headingRef.current || !contentRef.current) return; const tl = gsap.timeline({ defaults: { ease: "power3.out" }, scrollTrigger: { trigger: sectionRef.current, start: "top 70%", toggleActions: "play none none reverse", }, }); tl.fromTo( headingRef.current, { scale: 0.8, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.8 } ).fromTo( contentRef.current.children, { opacity: 0, y: 20 }, { opacity: 1, y: 0, duration: 0.6, stagger: 0.15 }, "-=0.4" ); }, { scope: sectionRef }); return (

SYSTEM
UPGRADE

Progettiamo insieme il prossimo tassello digitale della tua azienda.

Contattaci
); }