Repository navigation
chore: showcase the latest features on the landing page - #13
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.
Summary
The landing page was written before imports, chapters, playlists, calls to action, captions and AI chapters existed, so it described only upload, transcode, play and measure. This PR brings it up to date. It adds a step about captions and chapters to "How it works", a new "Player" section with a card per feature, and new copy in the hero, features and FAQ.
It also fixes the "How it works" counter (
01 / 04). When the step changed, the old number slid back into view before the new one appeared, so going from 03 to 02 showed 03 again and then 02.What visitors see
Hero. The lead now reads "Upload or import videos, transcode them to adaptive HLS, add captions and chapters, and play them in an embeddable player on your own sites." The page's meta description says the same.
Marquee. "caption" and "engage" take the place of "store" and "audit".
How it works. There are now five steps, and the counter reads
/ 05.Features. New points for URL imports, how far viewers get through each chapter, how often each call to action is answered or closed, and webhooks for captions and leads.
Player (new section). "More than a play button", after Features, linked from the header. It has six cards with the same pointer light as the security cards:
FAQ. Three new questions:
The answer about uploading from your own backend now mentions imports.
Changes
components/Engage.astro: new section, added topages/index.astroafter Features. It's built likeSecurity.astroand is three columns wide, two below 1100px and one below 760px.components/Pipeline.astro: adds the Enrich panel (data-cue-word,data-chapter) and updates the step numbers and copy.scripts/animations.ts:animatePanelreveals the caption words one by one, then staggers in the chapter rows.fromTo, which renders its start value immediately. That moved the old number below the frame before it rolled out, so it swept back up through view. The fix setsimmediateRender: falseon it. Each change also kills the previous roll, so scrolling quickly can't leave two timelines fighting over the number.lib/icons.ts: adds the Lucide iconsbookmark,captions,sparkles,list-video,mouse-pointer-clickandmail.Hero,Marquee,Features,FaqandHeader(new "Player" link).