From 26cf6780312a2853ba4f46b56e8637ae5ce43de9 Mon Sep 17 00:00:00 2001 From: AnkanMisra Date: Sun, 3 May 2026 18:07:24 +0530 Subject: [PATCH] swap the astro default favicon for an actual shield so the browser tab matches the brand: live deploy was rendering the astro logo (the dark-A glyph) on every browser tab because the default web/public/favicon.svg ships with the astro project starter and the layout never linked the file explicitly so browsers fell back to whatever favicon.ico happened to exist (also the astro default), which means every tab + bookmark + history entry showed the unrelated astro mark instead of a shield icon for an app called chainshield; replaced web/public/favicon.svg with a heater-shield silhouette built around the project palette (paper #f4ede2 fill on dark tab themes, ink #1a1a1a on light themes via prefers-color-scheme media query embedded in the svg style block, lime #c4ff5b accent for the inner check stroke matching --accent in global.css), proportions tuned to read at 16px (single bold check stroke, no fine internal detail that would smudge in a tab list); added an explicit to web/src/layouts/Layout.astro so modern browsers pick up the SVG directly without depending on the auto-discovery fallback chain; deleted web/public/favicon.ico because keeping the legacy astro-shipped raster around as a fallback for very old browsers would just reintroduce the wrong logo on the few clients that prefer .ico over the typed link, and the explicit svg link covers every browser shipped this decade --- web/public/favicon.ico | Bin 655 -> 0 bytes web/public/favicon.svg | 17 +++++++++-------- web/src/layouts/Layout.astro | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 web/public/favicon.ico diff --git a/web/public/favicon.ico b/web/public/favicon.ico deleted file mode 100644 index 7f48a94d16071d6c8d06478c7458ab12e675019c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 655 zcmV;A0&x9_P)Rl-XF(A`bsas&GH{e7U1}Ri zJr5jR8B2*Jd6$=$AqgTM2o2FV$WZ9|#jJ3mmpEs{jB0ps@*Kxv}=RB|IJih8Z&fqwCG`%bN0000#bW%=J zQ=IH#a_&L{B{_6Lu_3m>0bMN%+@aOmN_3G~H^8EGi>+bXO=;-|Z`uFnf==AdP z{Oj-S=ltmI=<4`LcLE*&009F@L_t(|+I`d4ZUZ3@1<*Uo7H^LoCw6-8z4wsbd;b4l zA}zMFtOw2mLX6O5Mgl}(5P=uOM4%=tnuHiuAp%(G<c=npm$Fz%eL - - + + + + diff --git a/web/src/layouts/Layout.astro b/web/src/layouts/Layout.astro index fd92253..70cbe9a 100644 --- a/web/src/layouts/Layout.astro +++ b/web/src/layouts/Layout.astro @@ -13,6 +13,7 @@ const { title = "ChainShield — Risk Gate" } = Astro.props; {title} +