Repository navigation
Reveal the homepage video in place on scroll - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.