CI / Typecheck, lint, tests, e2e (push) Failing after 3m51s
- Title screen over a real-time voxel office rendered at low resolution and quantized to a rotating 32-colour palette with Bayer dithering; day part and season re-light the scene and every surface. - 16-bit UI kit: name-plate dialogs, menu cursor, inventory, XP bar, badges, NPC speech, GAME OVER with CONTINUE, hand-placed 12x12 icons, Fusion Pixel font (Latin subset preloaded). - Sections as a game: quest log (onboarding), character select (AI CEO / AI Co-Founder), inventory (features), party roster (providers), live download XP, save point (all v1.5.1 builds), FAQ as NPC dialog, credits. - Downloads and source point to the Gitea release; the download function only redirects to git.zacharyzhang.com. - Tailwind and the old components removed; unit tests for platform/downloads, rewritten e2e suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.8 KiB
TypeScript
52 lines
1.8 KiB
TypeScript
import { Badge, Dialog, Icon, NpcSay } from "../pixel";
|
|
import { party } from "../../lib/content";
|
|
import { Reveal } from "./reveal";
|
|
import { SectionHeader } from "./section-header";
|
|
import section from "./section.module.css";
|
|
import styles from "./party-roster.module.css";
|
|
|
|
export function PartyRoster() {
|
|
const total = party.reduce((sum, group) => sum + group.members.length, 0);
|
|
return (
|
|
<section id="party" className={section.section} aria-labelledby="party-title">
|
|
<div className={section.inner}>
|
|
<Reveal>
|
|
<SectionHeader
|
|
id="party-title"
|
|
stage="World 4 · Party roster"
|
|
title="Recruit any model into the party"
|
|
intro={`${total} ways to power your CEO, sorted by how they join.`}
|
|
/>
|
|
<ul className={styles.grid}>
|
|
{party.map((group) => (
|
|
<li key={group.name}>
|
|
<Dialog title={group.name} as="div">
|
|
<p className={styles.blurb}>
|
|
<Badge>{group.badge}</Badge>
|
|
<span>{group.blurb}</span>
|
|
</p>
|
|
<ul className={styles.members}>
|
|
{group.members.map((member) => (
|
|
<li key={member}>
|
|
<Icon name={group.icon} size={1} />
|
|
<span>{member}</span>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
</Dialog>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
<div className={styles.npc}>
|
|
<NpcSay
|
|
speaker="Bit, the intern"
|
|
portrait="bot"
|
|
lines={["One provider is enough to start. Settings has a Providers panel for when you want to recruit more."]}
|
|
/>
|
|
</div>
|
|
</Reveal>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|