'use client'; import { motion } from 'framer-motion'; import { Network, Database, Shield, Server, Globe, Lock } from 'lucide-react'; const components = [ { name: 'Corestore & Autopass', description: 'Decentralized storage and secure writer additions', icon: Database, position: 'top-left', }, { name: 'Hyperswarm', description: 'Peer discovery using fixed topic', icon: Network, position: 'top-center', }, { name: 'DNS Handler', description: 'UDP server for P2P and public DNS resolution', icon: Globe, position: 'top-right', }, { name: 'Proxy Server', description: 'HTTPS/HTTP with WebSocket support', icon: Server, position: 'bottom-left', }, { name: 'Holesail', description: 'Secure UDP Holepunched Tunnels', icon: Shield, position: 'bottom-right', }, { name: 'Certificate Authority', description: 'Automatic TLS certificate generation and management', icon: Lock, position: 'bottom-center', }, ]; export default function ArchitectureDiagram() { return (
{components.map((component, index) => { const Icon = component.icon; return (

{component.name}

{component.description}

); })}
All components work together to create a resilient P2P DNS system
); }