"use client"; import { useState } from "react"; import { Badge, Dialog, Icon, NpcSay, PixelButton } from "../pixel"; import { modes, type Mode } from "../../lib/content"; import { Reveal } from "./reveal"; import { SectionHeader } from "./section-header"; import section from "./section.module.css"; import styles from "./character-select.module.css"; const verdict: Record = { ceo: ["Bold. The CEO hires, approves and ships while you get a snack.", "It still can't close a goal by itself. The auditor holds that key."], cofounder: ["Classic co-op. The CEO does the grinding and pings you before anything risky.", "Big hires and risky work land in your Approvals. Deliverables wait for your review."], }; export function CharacterSelect() { const [picked, setPicked] = useState("cofounder"); return (
{modes.map((mode, index) => { const selected = mode.id === picked; return (

Class: {mode.className}

{mode.pitch}

{mode.stats.map((stat) => (
{stat.label}
{stat.value}
))}

Special: {mode.special}

setPicked(mode.id)} icon={selected ? "check" : "sword"}> {selected ? `${mode.name} selected` : `Select ${mode.name}`}
); })}
); }