Repository navigation
Make the promo video the homepage hero - #34
Merged
Merged
Conversation
Drop the still from the first screen and preload the video poster instead. The before/after galleries stay further down the page. Co-authored-by: Joan Comadran <joancomadran@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
On
/and/es, the first screen is the self-hosted promo again. The still oftwelve-apostles.jpgis gone from the hero, and so is its AVIF preload. The second copy of the video lower on the page is gone too.The video sits next to the tagline on desktop and under the no-sign-up button on a phone. It is muted, looping,
playsinline, withpreload="metadata", controls, and the existing 1280×720 poster (/video/promo-poster.jpg, 35 KB). That poster is the preloaded LCP image.prefers-reduced-motionturns autoplay off and leaves the poster with the play control.The before/after galleries on the home and tool pages are unchanged. The develop stills stay in
public/site/results/because the RAW-to-JPG example still uses them. Titles and meta are untouched.npm run lint,npm test, andnpm run buildpassed.Desktop homepage with the promo video beside the tagline and no-sign-up button
Phone homepage with the promo video under the no-sign-up button
To show artifacts inline, enable in settings.