"use client"; import React, { useRef } from "react"; import gsap from "gsap"; import { useGSAP } from "@gsap/react"; import { ScrollTrigger } from "gsap/ScrollTrigger"; gsap.registerPlugin(useGSAP, ScrollTrigger); const features = [ { title: "Multi-track Leveling", description: "Create distinct leveling paths for different roles or activities. Perfect for complex community structures.", }, { title: "Coming Soon", description: "More features will be added in the future." }, ]; const Features = () => { const container = useRef(null); useGSAP( () => { const cards = gsap.utils.toArray(".feature-card"); cards.forEach((card: any, index) => { gsap.from(card, { scrollTrigger: { trigger: card, start: "top 85%", toggleActions: "play none none reverse", }, y: 50, opacity: 0, duration: 0.8, delay: index * 0.2, ease: "power3.out", }); }); }, { scope: container } ); return (

Why Void Sentinel?

{features.map((feature, index) => (

{feature.title}

{feature.description}

))}
); }; export default Features;