diff options
| author | user <user@clank> | 2026-08-30 16:28:57 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-30 16:28:57 +0200 |
| commit | a5ce3d56f9ba17acf073b9ca051e658bfd262cae (patch) | |
| tree | 5f005f89425b1be572019a066053256a6185274c /include/expr.h | |
| parent | web: the logo cycles hyper, and casts a glow to match (diff) | |
| download | slosh-a5ce3d56f9ba17acf073b9ca051e658bfd262cae.tar.gz slosh-a5ce3d56f9ba17acf073b9ca051e658bfd262cae.tar.xz slosh-a5ce3d56f9ba17acf073b9ca051e658bfd262cae.zip | |
web: the demo machine, bootable in the front page
A try section between the tour and the install box: a modest poster
with one button, and the machine only when the button is pushed -- the
front page keeps costing two files, which is the decision the README
recorded when the demo got its own page, still being honoured.
The click grows the stage to most of a viewport *before* the iframe
goes in (the guest reads its geometry from the room exactly once, at
boot), then glides the scroll to land the machine centred. An iframe,
not the demo's scripts inlined: the emulator's emscripten glue owns
its globals by name, and isolation is what keeps this page and that
blob out of each other's namespaces. ?embed=1 makes the demo page
drop its own header and footer inside the frame; standalone it is
unchanged, and phones navigate to it rather than embedding -- wasm
under a soft keyboard in an iframe helps nobody.
The floating logo learns the tour's edges properly while at it: the
try section arriving closes the show (measured with a -45% rootMargin,
because the tour's exit margin lets the section ride high while the
last step is still centred), and a section scrolled past counts as
arrived, not gone.
Diffstat (limited to 'include/expr.h')
0 files changed, 0 insertions, 0 deletions
