Repository navigation
Restyle the site in the apps' visual language - #125
Merged
Merged
Conversation
Use the @mdbase-dev/ui look the apps share: IBM Plex Sans, semibold headings, hairline borders, 6-10px corners, accent links and buttons, and row-style navigation with a soft fill on the current item. Interior pages move to the neutral token canvas; the homepage keeps its sky and murmuration. The brand mark's accent now follows --color-accent. On the downloads page only the packages for the visitor's system keep the filled button.
Add Connect and desktop app screenshots to the Connect, Downloads and home pages, taken from the apps' review fixtures. Put the header on one row, set text beside screenshots, list sections beside long pages, and show the plans as cards. Use one canvas across the site and the apps' text colour for body text.
Pricing sets the two plans beside the intro with their limits on matching rows, and the details below in two columns. The search panel keeps its field in place while results scroll, and its field and buttons use the apps' focus styles. Pages preload their fonts, prefetch on hover and cross-fade, so a new page no longer paints in a fallback font first.
Drop the search dialog from the header and Pagefind from the build. The markers that chose what the search index and the Markdown copies included now belong to the Markdown copies alone, so they are renamed to data-markdown-body and data-markdown-ignore.
…he phone homepage The hero sets the desktop app beside its text, and the film opens from a link in a viewer. Screenshots open full size in the same viewer, and on a phone show a readable part of the window. On a phone each homepage chapter is a card that slides over its diagram. The SDK page's starting points are cards, the downloads page offers this computer's packages first, and the app list gains Build your own. Redraw the share image and match the browser bar to the canvas.
It covered the murmuration, which is the hero's own picture.
The film frame returns to the text column under the hero's actions, where it leaves the murmuration clear, in place of the link that opened it in the viewer. Its button now reads "Watch the two-minute film". The film has a dark cut, rendered from the same source in mdbase-media with the apps' dark role values. The page shows the cut and poster that match the theme, and a theme change while the film plays swaps the cut and keeps the place, since both have the same timing. The viewer loses its video path, which nothing else used.
The Status, Runs on and Collections rows are gone from every app; they said little. TaskNotes' description now names its platforms, the one fact among them worth keeping. The page closes on a "Build your own" row laid out as the apps are, with a picture in place of a screenshot: twelve records that rearrange as a list, a board, a calendar, a timeline and a graph, with a status change that follows a record into every view. The tabs choose a view and a record can be clicked. The first view is rendered into the page, it stops off screen, and reduced motion keeps the tabs without the movement.
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.
Restyles mdbase.dev to match the apps' shared UI package, and reworks several pages along the way. Each round was reviewed on the lab site (https://mdbase-dev.pages.dev).
What changes
pagefinddependency. Markdown copies andllms.txtare still built (pnpm index:site).og-card.jpgredrawn.New files worth knowing about
public/videos/mdbase-in-two-minutes-dark.{mp4,jpg}: the dark cut, rendered from the film's source in mdbase-media.scripts/screenshots/: capture scripts for the Connect, desktop and share-card images;docs/app-documentation.mddescribes them.Checks
pnpm test:spec,test:home,test:docs,test:deploy:devandpnpm checkpass locally.