"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 buttonRef = useRef(null); useGSAP(() => { if (!headingRef.current || !buttonRef.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(buttonRef.current, { opacity: 0, y: 20 }, { opacity: 1, y: 0, duration: 0.6 }, "-=0.4" ); }, { scope: sectionRef }); return (

Pronto a scalare?

Contattaci
{/* Decorative SVG Lines */}
); }