import { motion } from "framer-motion";
interface TechStackVisualizationProps {
stacks: Array<{
name: string;
technologies: string[];
color: string;
icon: string;
}>;
}
export const TechStackVisualization = ({ stacks }: TechStackVisualizationProps) => {
return (
{/* Central Hub */}
{/* Tech Stack Orbits */}
{(stacks ?? []).map((stack, stackIndex) => (
{/* Stack Hub */}
{stack.icon}
{/* Stack Label */}
{stack.name}
{/* Technologies around the stack */}
{stack.technologies.map((tech, techIndex) => (
{tech.slice(0, 2)}
))}
))}
{/* Animated Particles */}
{Array.from({ length: 8 }).map((_, index) => (
))}
);
};