import { motion } from 'framer-motion' import { Globe } from 'lucide-react' import { mockNodes, mockConnections } from '../data/mockData.js' export default function ActivityMap() { const nodeMap = Object.fromEntries(mockNodes.map(n => [n.name, n])) return (
Global Activity
{mockNodes.length} nodes
{/* Connection lines */} {mockConnections.map((conn, i) => { const from = nodeMap[conn.from] const to = nodeMap[conn.to] if (!from || !to) return null return ( ) })} {/* Nodes */} {mockNodes.map((node, i) => (
{node.name} ยท {node.latency}ms
))}
Every pulse = active transfer All nodes online
) }