Repository navigation
Conversation
The tipjar package (npm) is self-hosted into dist/site/tipjar/ and mounted from site/tip.js, so the CSP stays script-src 'self'. It goes to the same Ko-fi page as the footer line and tucks away while the footer is on screen. Themed with the page's cobalt via --tipjar-* custom properties. ADR 0001 records the choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HstUkyeaG3BbXgCsZ7eTq
|
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.
Requested by Matt · project thread
What and why
Adds the
tipjarpackage (1.2.0 from npm) to getisogram.com as a floating "Support" button, bottom right, with the pixel coffee icon.hideWhenVisible: 'footer') while the footer is on screen, so only one shows at a time.tools/site.mjscopiestipjar/dist/*.jsandstyle.cssintodist/site/tipjar/, andsite/tip.js(a module file, not inline) mounts it. No CDN.--tipjar-*insite.css, so it follows the theme toggle (data-theme), ringed in the paper colour.0001-tipjar-support-button.mdrecords the choice.How it was checked
npm test(site test now also expectstip.js,tipjar/index.js,tipjar/style.css)npm run buildthennpm run verify: all checks pass, no CSP errorsnpm run preview(vercel.json's headers): button renders in light, dark and at 390px (icon only), no console errors, and it getsdata-tuckedwhen the footer scrolls into viewSKILL.mdandreferences/: n/aGenerated by Claude Code