Skip to content

chore(site): add SVG favicon#13

Merged
RoboZephyr merged 2 commits into
mainfrom
chore/site-favicon
May 15, 2026
Merged

chore(site): add SVG favicon#13
RoboZephyr merged 2 commits into
mainfrom
chore/site-favicon

Conversation

@RoboZephyr

Copy link
Copy Markdown
Owner

Adds site/favicon.svg + <link rel="icon"> in <head>. Browser tab was showing the blank-document icon — small finish gap.

  • 514 bytes single-file SVG, no external requests
  • Amber bg (#b45309) matches site --accent
  • Bold T glyph (Geist would be nice but webfonts inside SVG don't load reliably across browsers; T is drawn as two rects, crisp at 16px)
  • Subtle baseline mark below — echoes the ~/.trove/ path underline
  • Fix commit included: XML 1.0 forbids -- inside comments; reworded so strict parsers (Safari preview, og:image renderers) accept

Auto-deploy workflow (PR #11/#12) will pick it up on merge.

🤖 Generated with Claude Code

RoboZephyr and others added 2 commits May 15, 2026 16:46
Adds a single-file SVG favicon at site/favicon.svg and the <link rel="icon">
reference in site/index.html. The browser tab was rendering with the default
blank-document icon — small finish gap that read as half-baked.

Design notes
- 64x64 viewBox, ~330 bytes — single inline SVG, no external requests
- Amber background (#b45309) matches the site --accent color exactly
- Bold serif-less T glyph as the trove monogram (Geist would be ideal,
  but webfonts inside SVG favicons don't reliably load across browsers,
  so the T is drawn via two rects for crisp rendering at 16px)
- Subtle baseline mark below the T — echoes the `~/.trove/` path
  underline shape from the ASCII banner aesthetic
- Single file, no PNG fallback needed: SVG favicons are supported in
  Chrome 80+, Firefox 41+, Safari 9+ (covers Trove's target audience)
- Cloudflare Pages serves /favicon.svg from site/ root automatically;
  the new auto-deploy workflow (PR #11/#12) will pick it up on next
  push

Tested
- Python ET parse: clean
- Manually verified the link tag is in the head section between OG meta
  and the Google Fonts preconnect; CSS unaffected

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
XML 1.0 forbids '--' inside <!-- comments -->. The amber-accent comment
contained 'site --accent #b45309' which made strict XML parsers reject
the file. Browsers tolerate it but og:image renderers / Safari preview
generators / CI image validators may not.

Reworded the comment to 'matching the site accent (#b45309)' — same
intent, no double-dash.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@RoboZephyr RoboZephyr merged commit 22f6389 into main May 15, 2026
1 check passed
@RoboZephyr RoboZephyr deleted the chore/site-favicon branch May 15, 2026 08:48
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