import { useNavigate, useLocation } from "react-router-dom"; import { ArrowLeft, Sparkles } from "lucide-react"; import { useEffect, useState } from "react"; interface Arm { id: string; label: string; color: string; bgGradient: string; textColor: string; href: string; icon: string; tip: string; shadowColor: string; glowColor: string; } const ARMS: Arm[] = [ { id: "staff", label: "Staff", color: "#7c3aed", bgGradient: "from-purple-600 to-purple-400", textColor: "text-purple-400", href: "/staff", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc0414efd7af54ef4b821a05d469150d0?format=webp&width=800", tip: "Staff operations & internal portal", shadowColor: "shadow-purple-500/50", glowColor: "rgba(168, 85, 247, 0.3)", }, { id: "labs", label: "Labs", color: "#FBBF24", bgGradient: "from-yellow-600 to-yellow-400", textColor: "text-yellow-400", href: "/labs", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fd93f7113d34347469e74421c3a3412e5?format=webp&width=800", tip: "R&D pushing innovation boundaries", shadowColor: "shadow-yellow-500/50", glowColor: "rgba(251, 191, 36, 0.3)", }, { id: "gameforge", label: "GameForge", color: "#22C55E", bgGradient: "from-green-600 to-green-400", textColor: "text-green-400", href: "/gameforge", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fcd3534c1caa0497abfd44224040c6059?format=webp&width=800", tip: "Games shipped monthly at speed", shadowColor: "shadow-green-500/50", glowColor: "rgba(34, 197, 94, 0.3)", }, { id: "corp", label: "Corp", color: "#3B82F6", bgGradient: "from-blue-600 to-blue-400", textColor: "text-blue-400", href: "/corp", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fae654ecc18b241bdab273893e8231970?format=webp&width=800", tip: "Enterprise solutions for scale", shadowColor: "shadow-blue-500/50", glowColor: "rgba(59, 130, 246, 0.3)", }, { id: "foundation", label: "Foundation", color: "#EF4444", bgGradient: "from-red-600 to-red-400", textColor: "text-red-400", href: "/foundation", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2Fc02cb1bf5056479bbb3ea4bd91f0d472?format=webp&width=800", tip: "Community & education initiatives", shadowColor: "shadow-red-500/50", glowColor: "rgba(239, 68, 68, 0.3)", }, { id: "devlink", label: "Dev-Link", color: "#06B6D4", bgGradient: "from-cyan-600 to-cyan-400", textColor: "text-cyan-400", href: "/dev-link", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F9a96b43cbd7b49bb9d5434580319c793?format=webp&width=800", tip: "Professional network for creators", shadowColor: "shadow-cyan-500/50", glowColor: "rgba(6, 182, 212, 0.3)", }, { id: "nexus", label: "Nexus", color: "#A855F7", bgGradient: "from-purple-600 to-purple-400", textColor: "text-purple-400", href: "/nexus", icon: "https://cdn.builder.io/api/v1/image/assets%2Ffc53d607e21d497595ac97e0637001a1%2F6df123b87a144b1fb99894d94198d97b?format=webp&width=800", tip: "Talent marketplace & collaboration", shadowColor: "shadow-purple-500/50", glowColor: "rgba(168, 85, 247, 0.3)", }, ]; export default function Arms() { const navigate = useNavigate(); const location = useLocation(); const [hoveredArm, setHoveredArm] = useState(null); const handleSelectArm = (href: string) => { navigate(href); }; const handleBack = () => { if (window.history.length > 1) { navigate(-1); } else { navigate("/"); } }; return (
{/* Multiple Animated Background Layers */}
{/* Radial gradient overlays for each arm */}
{/* Animated Grid Background */}
{/* Floating Particles */}
{[...Array(8)].map((_, i) => (
))}
{/* Header / Back Button */}
{/* Main Content */}
{/* Hero Section */}
Select Your Arm

Choose Your Arm

Select the arm that best matches your interests and goals. Each arm represents a unique pillar of the AeThex ecosystem with its own mission, team, and opportunities.

{/* Decorative line */}
{/* Arms Grid */}
{ARMS.map((arm) => ( ))}
{/* Footer text */}

Click any arm to explore its unique offerings and community

); }