feat(web): add Bunyip favicon derived from hero art #335
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/BUNYIP-339-favicon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds a favicon for bunyip-web. Previously no favicon was wired into the SSR document head, so browsers rendered a blank tab icon.
The icon is a face crop of the existing hero art (
bunyip-web/assets/bunyip-hero.png) with rounded corners and a fully transparent corner background. The full pond scene is illegible at 16-32px, so cropping to the creature's face keeps it recognizable at tab size.Assets
High-res set under
bunyip-web/assets/, served via the existing/assetsServeDir:favicon.ico(multi-size: 16 / 32 / 48)favicon-16x16.png,favicon-32x32.png,favicon-48x48.png,favicon-192x192.png,favicon-512x512.pngapple-touch-icon.png(180x180)Corners are rounded per-size (round after downscale, then a black-thresholded alpha mask) so the small sizes have crisply transparent corners rather than an anti-aliased green seam. Verified corner pixels are alpha 0 at every size.
Head wiring
bunyip-web/src/views/layout.rsgains thelink rel="icon"set plus the apple-touch-icon link, right after<title>.Verification
Local pre-commit hook (fmt + clippy -D warnings + workspace tests) passed green.
Notes
Framing (face crop vs full scene) and the rounded-corner radius can be refined later if desired.
#BUNYIP-339