Repository navigation
feat: swap to lanyards.app (#154); livelier homepage sway (#153) - #155
Merged
Merged
Conversation
A brisk sweep now swings the badge about 2 degrees (was about 1), a fast flick about 3, never past 4. A stiffer, more damped spring brings it back by about a quarter, then a little more, and it's still again two to three seconds after the pointer stops. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PSPB1cH898qV61BH1NiFKL
Ready for the swap: lanyards.app becomes the new app's home. - vercel.json: page visits to next.lanyards.app redirect permanently to the same path on lanyards.app. Only page navigations redirect, so an installed copy's service worker can still fetch its update there. - The app, opened on a retired origin once the build's base URL is elsewhere, unregisters its service worker, clears its caches and goes to the same page at the base URL. Until PUBLIC_BASE_URL moves, this does nothing. - CLAUDE.md: hosting notes for after the swap. 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.
|
2 of 7 tasks
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
Swap preparation (#154)
next.lanyards.appredirect permanently (308) to the same path onlanyards.app, viavercel.json. It matches onlysec-fetch-dest: document, so an installed copy's service worker can still fetch its update and assets there.next.lanyards.apponce the build's base URL is elsewhere, the app unregisters its service worker, clears its caches and goes to the same page onlanyards.app.PUBLIC_BASE_URLchanges, it does nothing.Livelier sway (#153)
Testing
npm run lint,npm run typechecknpm test: 1,295 passednpm run e2e: 91 passednpm run size: 197.5 KB of the 200 KB budgetPUBLIC_BASE_URL=https://lanyards.app npm run buildemitsclient_id https://lanyards.app/oauth-client-metadata.json, with redirecthttps://lanyards.app/oauth/callbackCloses #153
Closes #154
Generated by Claude Code