Skip to content

feat: homepage and sign-in badges hang from the printed lanyard, in a sleeve (#170) - #171

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

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

Conversation

@renderghost

Copy link
Copy Markdown
Owner

Summary

Every lanyard we show now looks like the Share screen's (#169): a printed strap with a sewn tab, a swivel ring and a clasp, and the badge in a clear sleeve.

  • BadgeSleeve: the clear sleeve (its lip slot and its glare) is now a shared component, used by the Share screen, the homepage and the sign-in page.
  • Homepage:
  • Sign-in page:
    • the same lanyard and sleeve, straight and still;
    • the form sits above the sleeve's glare, so its text keeps full contrast.
  • Straps: cropped at the stage, so they never run behind the header's logo or Sign in.
  • Fix on the Share screen: on a portrait tablet (820×1180) the strap covered Close and swallowed its clicks.
    • Close now draws over the lanyard.
    • The lanyard no longer takes clicks at all.
  • Removed: LanyardStraps, the old plain straps, which nothing uses now.

Out of scope: the public lanyard page's badge (BadgeHero). It's the page's header and has no lanyard, only a slot.

Testing

  • npm run lint, npm run typecheck, npm run i18n:check
  • npm test: 1,321 passed. New tests cover:
    • the sleeve's parts and class merging;
    • both pages print lanyards.app and hold the badge in the sleeve;
    • the homepage sleeve is what sways, and comes to rest.
  • npm run e2e: 92 of 93 passed. The new test clicks Close on an 820×1180 screen; it failed before the fix with "path … intercepts pointer events".
    • The perf budget missed by 16 ms (2,516 ms against 2,500 ms) with two workers, the same flake as before.
    • Run on its own it passed twice; this change doesn't touch the public lanyard.
  • npm run size: 198.1 KB of the 200 KB budget
  • Screenshots of the homepage, sign-in and Share at 390×844, 820×1180 and 1440×900

Closes #170


Generated by Claude Code

renderghost and others added 3 commits November 21, 2026 12:50
…anyard (#170)

The Share screen's sleeve, with its slot and glare, is now BadgeSleeve,
so the homepage and sign-in badges can hang in it too. The lanyard is
decoration and no longer takes clicks, and Close draws over it: on a
portrait tablet the strap ran over the button and hid it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
… sleeve (#170)

Both badges now hang as the Share screen's does: in a clear sleeve, from
a lanyard printed with lanyards.app, its clasp through the sleeve's slot.
On the homepage the sleeve tilts, swings in and sways with the pointer,
turning on the clasp. On the sign-in page it hangs still, and the form
sits above the sleeve's glare so its text keeps full contrast. The old
plain straps (LanyardStraps) are gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
@vercel

vercel Bot commented Nov 21, 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 21, 2026 12:58pm UTC

@renderghost
renderghost merged commit 96a0230 into main Nov 21, 2026
3 checks passed
@renderghost
renderghost deleted the claude/lanyards-rebuild-attendee-ux-vcl1sb branch November 21, 2026 14:01
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 and sign-in badges hang from the Share screen's lanyard, in a clear sleeve

1 participant