/* P.E.S.T Web App — public/guest board (no login). Shows the Core's most-favored projects. */ function Guest({ onExit }) { // Public board data: most-pinned projects + most-watched tokens across all members. // Fetched from the no-auth publicBoard endpoint (the store is empty when not logged in). const [board, setBoard] = useState({ projects: [], tokens: [], loaded: false }); const [qa, setQa] = useState(null); useEffect(() => { let alive = true; window.PEST_APP.api.publicBoard() .then((r) => { if (alive) setBoard({ projects: r.projects || [], tokens: r.tokens || [], loaded: true }); }) .catch(() => { if (alive) setBoard({ projects: [], tokens: [], loaded: true }); }); return () => { alive = false; }; }, []); const ranked = board.projects.slice(0, 8); const pos = window.orbitPositions(ranked.length); return (
P.E.S.T
This is a glimpse of the hive. Build your personal node, pin your projects and share referrals — earn your rank among the Core Members.