feat: add presentation problem visual

This commit is contained in:
lda
2026-07-10 03:41:20 +07:00 Verified
parent 9a42e2bfc3
commit e40fd67ca2
5 changed files with 174 additions and 0 deletions
@@ -13,6 +13,7 @@ import { DemoWorkflowScene } from "./DemoWorkflowScene.js";
import { StageCaption } from "./StageCaption.js";
import { ArchitectureScene } from "./scenes/ArchitectureScene.js";
import { OpeningThesisScene } from "./opening/OpeningThesisScene.js";
import { ProblemLoopScene } from "./opening/ProblemLoopScene.js";
type SceneBodyProps = {
readonly location: PresentationLocation;
@@ -306,6 +307,7 @@ export const SceneBody = ({ location, demo, selectedNodeId, selectNode, openEvid
switch (scene.view) {
case "narrative":
if (scene.id === "thesis") return <OpeningThesisScene scene={scene} beat={beat} />;
if (scene.id === "problem") return <ProblemLoopScene scene={scene} beat={beat} />;
return <NarrativeScene scene={scene} beat={beat} />;
case "positioning":
return <PositioningScene scene={scene} beat={beat} />;