"use client"; import Image from "next/image"; import { useRef } from "react"; import { useGSAP } from "@gsap/react"; import gsap from "gsap"; import { ScrollTrigger } from "gsap/ScrollTrigger"; gsap.registerPlugin(ScrollTrigger); export default function AboutSection() { const sectionRef = useRef(null); const imageRef = useRef(null); const textRef = useRef(null); useGSAP(() => { if (!sectionRef.current || !textRef.current) return; gsap.fromTo( textRef.current, { y: 40, opacity: 0 }, { y: 0, opacity: 1, duration: 1, ease: "power3.out", scrollTrigger: { trigger: sectionRef.current, start: "top 70%", toggleActions: "play none none reverse", }, } ); }, { scope: sectionRef }); return (
{/* Background Image */}
Architettura moderna in vetro e acciaio
{/* Content Overlay */}

Chi Siamo

CiMa Progetti unisce architettura e software engineering. Costruiamo sistemi digitali solidi e scalabili per aziende che non accettano compromessi.

AI Expert

Nicola Leone Ciardi

Jr Engineer

Valentina Madaudo

); }