"use client"; import Headline from "@/components/ui/headline"; import { useSplitHeading } from "@/lib/useTextRevealHeading"; import Image from "next/image"; import ScrollTrigger from "gsap/ScrollTrigger"; import gsap from "gsap"; import { useEffect, useRef } from "react"; import { useCases } from "@/data/useCases"; import { useRouter } from "next/navigation"; import { usePageTransition } from "@/layout/Layout"; const CaseStudy = () => { const headingRef = useRef(null); const paraRef = useRef(null); const containerRef = useRef(null); const { startTransition } = usePageTransition(); useSplitHeading(headingRef, paraRef); useEffect(() => { gsap.registerPlugin(ScrollTrigger); const cards = gsap.utils.toArray(".use-card"); gsap.from(cards, { y: 100, opacity: 0, duration: 1.2, ease: "power3.out", stagger: 0.19, scrollTrigger: { trigger: ".use-wrapper", start: "top 80%", end: "bottom 60%", toggleActions: "play none none none", }, }); return () => { ScrollTrigger.getAll().forEach((st) => st.kill()); }; }, []); return (

One Technology, Many{" "} Applications

Whether for municipalities, research, or contractors — FalktronTrees brings actionable insights to every level of urban forestry.

{useCases.map((useCase, index) => (
{/* Image */}
{useCase.title}
{/* Text Content */}

{useCase.title}

{useCase.description}

))}
); }; export default CaseStudy;