Skip to content

fix(website): real, sized PNG icons and meta for the privacy page - #59

Merged
JarlLyng merged 1 commit into
mainfrom
claude/suspicious-lalande-2a2161
Oct 18, 2026
Merged

JarlLyng merged 1 commit into
mainfrom
claude/suspicious-lalande-2a2161

Conversation

@JarlLyng

Copy link
Copy Markdown
Owner

Closes #57. Fixes the icon part of #50.

Icons

website/icons/icon48.png was the 1024 px source art, a JPEG of about 476 KB with a .png name. The site now has one real PNG per use, resized with sips from icons/src/icon-1024.png:

File Pixels Bytes Used as
icon32.png 32 2.4 KB favicon (sizes="32x32"), the 32 px nav logo on 1x screens
icon48.png 48 4.8 KB favicon (sizes="48x48"), the 24 px logo in the hero mockup (2x)
icon64.png 64 7.7 KB the 32 px nav logo on 2x screens (srcset)
apple-touch-icon.png 180 42.7 KB apple-touch-icon (sizes="180x180")

icon48.png keeps its path, so an old link to it still works and now gets a 48 px PNG. Every sizes attribute matches its file. The privacy page uses the same links, and its logo gets width and height.

The apple-touch-icon is the largest of the four. Browsers fetch it when someone adds the site to a home screen, not on a normal page view. There is no SVG icon, because the source art has no vector version.

Privacy page meta

privacy.html now has a meta description, a canonical, Open Graph and Twitter Card tags (with the existing og-image.png), the author and the icon links, following index.html. The descriptions are about the privacy page.

Not in this PR

Checks

  • npm run lint, npm test and npm run check:faq pass locally.
  • Served website/ locally: each icon link returns image/png at its declared size, and on a 2x screen the nav logo loads icon64.png. Lighthouse was not re-run.

🤖 Generated with Claude Code

website/icons/icon48.png was the 1024 px source art, a JPEG of about
476 KB with a .png name. Resize icons/src/icon-1024.png with sips to one
real PNG per use: 32 and 48 px favicons, a 64 px 2x logo for the 32 px
nav spot, and a 180 px apple-touch-icon. The sizes attributes now match
the files. icon48.png keeps its path, now as a 48 px PNG.

privacy.html gets a description, a canonical, Open Graph and Twitter
Card tags, the author and the icon links, following index.html.

Closes #57. Fixes the icon part of #50.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
botlens-demo Ready Ready Preview Oct 18, 2026 11:00pm UTC

@JarlLyng
JarlLyng merged commit e5c4b91 into main Oct 18, 2026
3 checks passed
JarlLyng added a commit that referenced this pull request Oct 18, 2026
…o action

Two phone points from #50; the icon part is in #59.

Overflow: the hero mockup is width: 320px in content-box, so with its
padding and border it is 354px, and the single 1fr hero track grew to
fit it. At 375px that put the page 3px past the viewport. Under the
768px breakpoint the track is now minmax(0, 1fr) and the mockup is
border-box with max-width: 100%. Desktop is unchanged.

Hero action: a phone cannot install the extension, but it can use the
web demo. A "Check a site" link to #try now takes the install button's
place in the hero under 768px. It starts hidden and demo.js unhides it
together with the demo section, so if data-api is ever empty, phones
get the install button back. It carries a demo-link Umami event with
placement hero, like the store links.

Closes #50

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 23228bea Deployed Oct 18, 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.

Site check after the redesign: a 48 px icon served as a 476 KB PNG, and the privacy page lacks meta

1 participant