Repository navigation
docs: plant the website's footer on signposts out at sea - #394
Merged
Merged
Conversation
Past the last note the website dives out to sea, and since the ink redraw it had no footer, so the privacy policy and terms had no link from the home page. The footer is back, and out at sea each island has a signpost holding part of it: who made StableBar, its license and source, the guide and examples, the Store and releases, privacy and terms, and a way back to the top. A board swings under the pointer, and a click follows its link. On the first island Seb and Steve stroll and chat between their two cottages. Point at them and they look at you; tap one and he says hi; knock three times on a cottage and its owner comes to see who's there. The footer itself stays for keyboards and screen readers: it shows when one of its links has the focus, and it ends the page when motion is reduced.
|
🎉 This PR is included in version 0.10.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Problem
Past the last note the website dives out to sea, and since the ink redraw (#385) the home page has no footer: nothing links to the privacy policy or the terms, or says who makes StableBar.
Changes
site/index.html,site/style.css): who makes StableBar, the license and source, the guide, examples, Store, releases, privacy and terms, and a way back to the top. While the dive is on it's hidden until one of its links gets the keyboard focus; with reduced motion (no dive) it ends the page as a paper note.drawSigninsite/scene.js): each[data-sign]group of the footer becomes the signpost of one island, in order: Made by → Seb, Steve; Open source → MIT License, GitHub; User guide, Examples; Widget store, Releases; Privacy, Terms; Back to the lighthouse. The post stands on the island's tip and its boards point the way you're going. Each sign is drawn in its island's own style through the usual pen and print levers. A board swings and is underlined under the pointer, and a click follows its link (⌘ or Ctrl opens a new tab;main.jsreads the boards withatSea). Boards of three words or more wrap onto two lines.stroll,drawWalker): drawn like the keeper, they walk the slope side by side, stop for a line each (CHATS), look at the pointer when it's near, and wave and say hi when tapped. The island has a second cottage, one each: knock three times on a door and its owner hurries over, says "hello?", looks around and walks back, while the other waits. The other islands still get the keeper at the door.Testing
privacy.html), clicking a stroller (wave and hi), three knocks on each cottage (its owner answers), keyboard focus on a footer link (the note shows), and reduced motion (the footer ends the page).node --checkonscene.jsandmain.js. The design checker reports the same findings before and after the change.Merging
One commit, so a squash and a merge commit give the same changelog entry.
Claude Opus 5.5 via Claude Code