"use client"; import { useRouter } from "next/navigation"; import { gsap } from "gsap"; import { useEffect, useRef } from "react"; const actions = [ { label: "Receive", path: "/receive", icon: "↓", color: "from-green-500 to-emerald-600" }, { label: "Send", path: "/send", icon: "↑", color: "from-blue-500 to-cyan-600" }, { label: "Transfer", path: "/transfer", icon: "⇄", color: "from-purple-500 to-pink-600", }, { label: "Approvals", path: "/approvals", icon: "✓", color: "from-orange-500 to-red-600", }, ]; export function QuickActions() { const router = useRouter(); const containerRef = useRef(null); useEffect(() => { if (containerRef.current) { const cards = containerRef.current.children; gsap.from(cards, { opacity: 0, y: 30, duration: 0.6, stagger: 0.1, ease: "power3.out", }); } }, []); return (

Quick Actions

{actions.map((action) => ( ))}
); }