Repository navigation
feat: signed-in navigation (#150); homepage header on the blue, swaying badge (#151) - #152
Merged
Merged
Conversation
The public lanyard moves to the old site's address, /<handle>. The beta's /@<handle> links redirect there, permanently on the server too. A DID goes to /d/<did>, and anything that can't be a handle is not found. Customise is now /<handle>/edit, and only the owner may use it. Anyone else is sent to that person's lanyard; anyone signed out signs in and comes back. /lanyard forwards to your own customiser. Link previews follow the new address, and canonical URLs name it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
The QR badge now opens full screen at /<handle>/share, for anyone's lanyard, with no app header. Close and Escape go back to where you were, or to the lanyard if the page was opened directly. Show QR, in the header and on the badge, is now a link to your own share page. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
Desktop: the logo, Customise and View on the left; the page's own actions (Save, Reset), Show QR and Account on the right. Phones: a bottom bar of Customise, View, a wide Show QR and Account, with Style, Reset and Save in the top bar on the customiser. - Customise and View replace the customiser's Edit / View as public toggle; View is the real lanyard at /<handle>. - The phone toolbar goes: Style moves to the top bar, the rest to the bottom bar. - Own-page tabs match exactly, so View isn't current on /<handle>/edit. - The badge's Edit lanyard goes to /<handle>/edit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
The homepage draws its own header: the lime logo, Sign in and Make your lanyard sit straight on the brand blue, over the top of the straps, with no bar. Text and focus rings use the accent field's tokens, the same in light and dark. A mouse moving sideways over the lanyard sways the badge on its clip: a damped spring pushed by the pointer's speed. One swing, a smaller one back, then still. It shows less than 2 degrees however hard it's pushed, and has no frame loop or transform at rest. Off for reduced motion and for touch. - useMakeLanyard: one sign-up starter for both headers. - AppHeader drops its homepage-only Sign in branch. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Signed-in navigation (#150)
URLs
/<handle>. Old/@handlelinks redirect permanently, including on Vercel for link previews./<handle>/edit./lanyardand signed-in visits to/forward there./<handle>/share.Desktop
Phones
Removed
Fix found in review: own-page tabs now match exactly. The router counted
/<handle>as current on/<handle>/edit, so View was highlighted too.Homepage hero (#151)
Testing
npm run lint,npm run typecheck,npm run i18n:checknpm test: 1,289 passednpm run e2e: 91 passed, including:npm run size: 197.5 KB of the 200 KB budgetNotes
Closes #150
Closes #151
Generated by Claude Code