import { motion } from "framer-motion"; export const TeamCollaborationVector = () => { const teamMembers = [ { role: "Frontend", color: "from-blue-500 to-blue-600", position: { x: 20, y: 20 } }, { role: "Backend", color: "from-green-500 to-green-600", position: { x: 80, y: 20 } }, { role: "Designer", color: "from-purple-500 to-purple-600", position: { x: 50, y: 70 } }, { role: "DevOps", color: "from-orange-500 to-orange-600", position: { x: 20, y: 70 } }, { role: "QA", color: "from-red-500 to-red-600", position: { x: 80, y: 70 } } ]; return (
{/* Team Members */} {teamMembers.map((member, index) => (
{/* Online Status Indicator */}
{/* Role Label */}
{member.role}
))} {/* Collaboration Lines */} {/* Dynamic Connection Lines */} {teamMembers.map((member, index) => ( teamMembers.slice(index + 1).map((otherMember, otherIndex) => ( )) ))} {/* Central Project Hub */} {/* Floating Code/Design Elements */} {['React', 'Design', 'API'].map((tech, index) => ( {tech} ))}
); };