Skip to content

Reveal the homepage video in place on scroll - #7

Merged
juancobo merged 2 commits into
mainfrom
fix/homepage-intro-reveal
Nov 6, 2026
Merged

juancobo merged 2 commits into
mainfrom
fix/homepage-intro-reveal

Conversation

@juancobo

@juancobo juancobo commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

The homepage previously scrolled the “What is Telar?” explanation out of view before bringing in a separate video panel. Keep both views in one sticky stage: the next scroll gesture or arrow press fades out the explanation and reveals the video in place. Scrolling back restores the explanation; the following step continues to the features.

Hidden layers are inert and hidden from assistive technology. Vimeo remains paused behind the explanation and plays after reveal. Reduced motion uses an immediate change. Both language versions and the existing #about and #demo links are retained, including direct visits and history navigation. Without JavaScript, the content remains in normal document flow. CSS and script URLs include content hashes so cached earlier assets are refreshed with the new layout.

Validation: production and preview Hugo builds, 21,777 production site checks, JavaScript syntax and whitespace checks, isolated Chromium tests at desktop/short-desktop/phone/landscape sizes plus reduced motion, and real Vimeo checks confirming paused → playing → paused behavior. Tests also cover forward/reverse wheel and keyboard navigation, stable stage geometry, hidden-layer focus handling, and direct #demo links.

@juancobo
juancobo merged commit df05d7e into main Nov 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant