Skip to content

feat(cloud): add favicon and home-screen app icon - #29

Merged
JarenKempton merged 1 commit into
mainfrom
t3code/app-icon
Oct 12, 2026
Merged

JarenKempton merged 1 commit into
mainfrom
t3code/app-icon

Conversation

@JarenKempton

Copy link
Copy Markdown
Owner

Why care: the tab, bookmarks, and "Add to Home Screen" show a blank/generic icon; this gives Time Switch its own.

No ticket

What changes

  • New icon: the mint "on" switch with a clock as the knob, in the app's dark theme colors
  • cloud/public/: favicon.svg, favicon.ico (16/32/48), apple-touch-icon.png (180), icon-192.png, icon-512.png, manifest.webmanifest
  • index.html links them, sets theme-color, and names the home-screen app "Time Switch"
  • The manifest is fetched with crossorigin="use-credentials" so Cloudflare Access lets it through

Proof

  • pnpm build → all six files land in dist/client
  • pnpm preview then curl each file → all 200 with correct types (image/svg+xml, image/vnd.microsoft.icon, image/png, application/manifest+json)
  • pnpm check and prettier --check . clean
  • Unverified: a real phone "Add to Home Screen" behind Access. Do that after deploy.

Merge: deploys with the normal main deploy; phones may cache the old icon until the bookmark is re-added.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JarenKempton

Copy link
Copy Markdown
Owner Author

Icons at 39706b9

Home screen (512, full-bleed — phone rounds it) Tab / bookmark (SVG) Apple touch (180)

Not captured: a real browser tab strip or phone home screen — headless can't show those. Check after deploy.

@JarenKempton
JarenKempton marked this pull request as ready for review October 12, 2026 21:11
@JarenKempton
JarenKempton merged commit e14d770 into main Oct 12, 2026
2 checks passed
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.

1 participant