diff --git a/src/app/components/HolonPlayer.tsx b/src/app/components/HolonPlayer.tsx new file mode 100644 index 00000000..1853b32c --- /dev/null +++ b/src/app/components/HolonPlayer.tsx @@ -0,0 +1,89 @@ +"use client"; + +// The live Holon model at the top of /holon. Before a click it is the still the +// engine drew, with a play mark; a click runs the model in place (the ladder page +// allows framing). The plain link under it stays as the fallback, and the still +// plus its alt text keep the page readable when printed or read as text only. + +import { useState } from "react"; + +export default function HolonPlayer({ + src, + still, + alt, + label, +}: { + src: string; + still: string; + alt: string; + label: string; +}) { + const [running, setRunning] = useState(false); + + if (running) { + return ( +