Repository navigation
Add a two-minute explainer film to the homepage - #109
Merged
Merged
Conversation
A silent, text-led film under the introduction's actions: why Markdown files, what goes wrong when apps keep their own databases, several apps working on one collection, approving and revoking access, the cloud copy and Private, and how to get started. It plays only on request (preload none, native controls, poster frame) and reuses the app screenshot's window frame.
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.
Adds a short silent film to the homepage introduction, under Create an account and the beta note. It explains mdbase in about two minutes, using on-screen text only:
status: done, and Claude's answer changes.Changes
src/pages/index.astro: a<figure>with the video after the beta note in#intro. Native controls,playsinline,preload="none", and a poster frame, so nothing downloads or plays until the reader presses play.src/styles/home.css: one rule for the video element. The figure reuses theAppShotwindow frame and caption styles (without the address bar), so it matches the TaskNotes screenshot in the next chapter and is 560px wide in the reading column.public/videos/mdbase-in-two-minutes.mp4(1920×1080, H.264, 1:54, 4.4 MB, no audio track) andpublic/videos/mdbase-in-two-minutes.jpg(poster, the frame where Claude's answer has changed).The film's copy follows the homepage: cloud copy by default and Private as the alternative, delete off by default, and revoking ends the app's access.
Checks
pnpm test:home,pnpm check(0 errors) andpnpm buildpass.Known gap
The film is light-only, so in dark mode it shows as a light frame on the dark page, unlike the screenshots, which switch captures. A dark render can follow if wanted.