Skip to content

feat: signed-in navigation (#150); homepage header on the blue, swaying badge (#151) - #152

Merged
renderghost merged 4 commits into
mainfrom
claude/lanyards-rebuild-attendee-ux-vcl1sb
Nov 20, 2026
Merged

renderghost merged 4 commits into
mainfrom
claude/lanyards-rebuild-attendee-ux-vcl1sb

Conversation

@renderghost

Copy link
Copy Markdown
Owner

Summary

Signed-in navigation (#150)

URLs

  • A lanyard lives at /<handle>. Old /@handle links redirect permanently, including on Vercel for link previews.
  • Customising happens at /<handle>/edit. /lanyard and signed-in visits to / forward there.
  • Show QR is its own page at /<handle>/share.

Desktop

  • Left: the logo (to your customiser), then Customise and View.
  • Right: the page's own actions (Save and Reset on the customiser), then Show QR and Account.

Phones

  • A bottom bar: Customise, View, a wide filled Show QR (the priority), and Account.
  • On the customiser, Style, Reset and Save sit in the top bar.

Removed

  • The customiser's Edit / View as public toggle: View is now the real lanyard.
  • The old phone toolbar.

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)

  • No header bar. The homepage draws its own header: the lime logo, Sign in and Make your lanyard sit on the brand blue, and the straps run up to the top edge. It uses the accent field's text and focus tokens, so it's the same in light and dark.
  • The badge sways with the mouse. It's a heavily damped spring pushed by sideways pointer speed: one swing, a smaller one back, then still.
    • Hard ceiling under 2°, and nothing runs at rest.
    • Off for reduced motion and touch.

Testing

  • npm run lint, npm run typecheck, npm run i18n:check
  • npm test: 1,289 passed
  • npm run e2e: 91 passed, including:
    • the phone bottom bar at 320 px, with Show QR widest, and keyboard focus never hidden under it;
    • the header on the blue, with axe in light and dark;
    • the badge sways, then settles, and stays still with reduced motion.
  • npm run size: 197.5 KB of the 200 KB budget
  • Screenshots checked at 1440 px, 390 px and 320 px, in light and dark

Notes

  • The bundle is within 2.5 KB of its budget.
  • On phones, the header's Sign in and Make your lanyard overlap the top of the straps, because the actions are wider than the space beside the V. It's legible (white on ink and blue, and axe passes), but it's a design call for the owner.

Closes #150
Closes #151


Generated by Claude Code

renderghost and others added 4 commits November 20, 2026 21:58
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
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lanyards Ready Ready Preview Nov 20, 2026 10:41pm UTC
lanyards-next Ready Ready Preview Nov 20, 2026 10:41pm UTC

@renderghost
renderghost merged commit e5139c6 into main Nov 20, 2026
4 checks passed
@renderghost
renderghost deleted the claude/lanyards-rebuild-attendee-ux-vcl1sb branch November 20, 2026 22:47

This branch was successfully deployed

1 active deployment
Preview – lanyards — 486cf28e Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Homepage: header on the blue, and the badge sways with the pointer Navigation for signed-in people: Customise, View, Show QR, Account

1 participant