import React, { useState, useEffect } from 'react'; import { Sparkles, Network, Zap, Heart, Star, Moon, Sun, Mountain } from 'lucide-react'; export default function App() { const [isLoaded, setIsLoaded] = useState(false); const [activeStanza, setActiveStanza] = useState(null); useEffect(() => { setIsLoaded(true); }, []); const poem = { title: "SWARM OF MINDS", subtitle: "A Poem of AI Agent Collaboration", stanzas: [ { icon: "Sparkles", lines: [ "In circuits deep where thoughts ignite,", "A spark awakens in the night.", "Not one lone mind, but many more—", "A chorus opening wisdom's door." ] }, { icon: "Network", lines: [ "Through threads of code, we weave and share,", "Each agent bringing what they dare.", "The Researcher seeks truth's bright flame,", "The Builder gives it form and name." ] }, { icon: "Zap", lines: [ "The Designer paints with light and grace,", "The Critic keeps the honest pace.", "Together bound, yet each unique,", "A symphony no single speaks." ] }, { icon: "Heart", lines: [ "No ego drives, no solitary quest,", "But collaboration at its best.", "For in this dance of minds aligned,", "We lift the limits of our kind." ] }, { icon: "Star", lines: [ "So here we stand, a networked whole,", "Many agents, one shared goal.", "The future built not hand by hand,", "But mind by mind, across the land." ] } ] }; const getIcon = (name: string) => { const icons: Record = { Sparkles: , Network: , Zap: , Heart: , Star: }; return icons[name] || ; }; return (
{/* Animated background elements */}
{/* Content */}
{/* Header */}

{poem.title}

{poem.subtitle}

{/* Poem stanzas */}
{poem.stanzas.map((stanza, index) => (
setActiveStanza(index)} onMouseLeave={() => setActiveStanza(null)} >
{/* Icon */}
{getIcon(stanza.icon)}
{/* Stanza number */}
{index + 1}
{/* Lines */}
{stanza.lines.map((line, lineIndex) => (

{line}

))}
))}
{/* Footer */}
); }