/** * rVote demo page — server-rendered HTML body. * * Embeds the full component for * real interactivity (browse spaces, create proposals, cast conviction * votes, binary final votes) plus showcase sections explaining the rVote vision. */ const FEATURES = [ { icon: "\u{1F4CA}", title: "Conviction Voting", desc: "Stake credits on proposals you support. Weight costs credits quadratically (weight\u00B2), preventing plutocratic capture while rewarding conviction.", }, { icon: "\u{1F3AF}", title: "Promotion Threshold", desc: "Proposals accumulate conviction score. When they hit the threshold, they auto-promote to a binary YES/NO/ABSTAIN final vote.", }, { icon: "\u23F3", title: "Vote Decay", desc: "Conviction decays after 30 days. This ensures ongoing relevance — stale votes fade, keeping governance dynamic and current.", }, { icon: "\u{1F3DB}\uFE0F", title: "Governance Spaces", desc: "Each community gets its own voting space with configurable thresholds, credit budgets, and voting periods.", }, ]; const INTEGRATIONS = [ { icon: "\u{1F30A}", name: "rFunds", desc: "Passed proposals trigger funding flows. Vote on budget allocations and threshold adjustments." }, { icon: "\u{1F4DD}", name: "rNotes", desc: "Link supporting research, discussion threads, and rationale documents to proposals." }, { icon: "\u{1F4C5}", name: "rCal", desc: "Voting deadlines, governance meetings, and proposal review periods on the calendar." }, { icon: "\u{1F465}", name: "rNetwork", desc: "Delegate voting power to trusted network members. Liquid democracy across communities." }, { icon: "\u{1F6D2}", name: "rCart", desc: "Vote on merchandise decisions, provider selection, and catalog curation." }, { icon: "\u2615\uFE0F", name: "rSpace", desc: "Each space has its own governance layer. Nest voting across spaces for multi-community decisions." }, ]; export function renderDemo(): string { return `
Conviction Voting Engine

rVote Demo

Credit-weighted conviction voting for collaborative governance decisions

\u{1F4CA} Conviction Voting | \u{1F3AF} Thresholds | \u23F3 Vote Decay | \u{1F3DB}\uFE0F Governance
${FEATURES.map( (f) => `
${f.icon}

${f.title}

${f.desc}

`, ).join("")}

r* Ecosystem Integrations

${INTEGRATIONS.map( (i) => `
${i.icon}

${i.name}

${i.desc}

`, ).join("")}

Govern Together

rVote brings conviction-weighted governance to your community. Proposals rise through collective conviction, not majority rule.

Create Your Space
`; }