docs: autoplay demo video in hero, swap logo and cover image#84
Merged
docs: autoplay demo video in hero, swap logo and cover image#84
Conversation
Replaces the static screenshot in the VitePress home hero with an autoplaying muted loop of the demo video, hosted at artifacts.px4.io/hawkeye/demo.mp4. Adds a custom theme that overrides the home-hero-image slot, tunes the hero typography down, and frees the image container from the default 320x320 square cap so a 16:9 video fits cleanly. The README header image and docs nav logo are updated too: cover.png (poster frame from the video) replaces the old screenshot at the top of README.md, and the PX4 logo SVG replaces the thumbnail in the sidebar.
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.
Replaces the static screenshot in the VitePress home hero with an autoplaying muted loop of Mike's demo video, hosted at
artifacts.px4.io/hawkeye/demo.mp4(CloudFront in front ofpx4-travis). Uses a custom theme that overrides thehome-hero-imageslot and tunes the hero CSS so a 16:9 video fits cleanly instead of being cropped into the default 320x320 square container. Video is H.264 High + AAC in MP4 with faststart, re-encoded from 77MB down to 11MB at CRF 22, visually indistinguishable from source, plays in every major browser.The README header image and docs nav logo are updated in the same change.
cover.png(a poster frame pulled from the video) replaces the old screenshot at the top ofREADME.md, and the PX4 logo SVG replaces the screenshot thumbnail in the docs sidebar. The now-unuseddocs/public/screenshot.pngis removed.Typography on the home hero is also dialed down a few pixels so the headline and tagline don't dominate the layout.