From b9d22a12d803029cd808d8b17ce92bf156c87373 Mon Sep 17 00:00:00 2001
From: RoboZephyr <276202023+RoboZephyr@users.noreply.github.com>
Date: Fri, 15 May 2026 16:46:12 +0800
Subject: [PATCH 1/2] chore(site): add SVG favicon
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Adds a single-file SVG favicon at site/favicon.svg and the
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)
---
site/favicon.svg | 10 ++++++++++
site/index.html | 1 +
2 files changed, 11 insertions(+)
create mode 100644 site/favicon.svg
diff --git a/site/favicon.svg b/site/favicon.svg
new file mode 100644
index 0000000..7c6ed65
--- /dev/null
+++ b/site/favicon.svg
@@ -0,0 +1,10 @@
+
diff --git a/site/index.html b/site/index.html
index 8e20ddc..5b5b983 100644
--- a/site/index.html
+++ b/site/index.html
@@ -9,6 +9,7 @@
+
From f82cd9b28b8031747be6c939d6e33ae79aae8e93 Mon Sep 17 00:00:00 2001
From: RoboZephyr <276202023+RoboZephyr@users.noreply.github.com>
Date: Fri, 15 May 2026 16:47:00 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix(site):=20valid=20XML=20=E2=80=94=20remo?=
=?UTF-8?q?ve=20'--'=20from=20favicon=20SVG=20comment?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
XML 1.0 forbids '--' inside . 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)
---
site/favicon.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/favicon.svg b/site/favicon.svg
index 7c6ed65..e3ec402 100644
--- a/site/favicon.svg
+++ b/site/favicon.svg
@@ -1,5 +1,5 @@