Skip to content

Add brand favicon to the dashboard#14

Merged
StrangeNoob merged 1 commit into
mainfrom
favicon
Jun 9, 2026
Merged

Add brand favicon to the dashboard#14
StrangeNoob merged 1 commit into
mainfrom
favicon

Conversation

@StrangeNoob

Copy link
Copy Markdown
Owner

Summary

The dashboard had no favicon — browsers requested /favicon.svg and fell through to the SPA. This adds a small on-brand SVG favicon: a cream (#ece3d4) serif R on a terracotta (#d2603f) rounded tile, matching the "Relay." wordmark.

  • New web/public/favicon.svg (scalable, ~366 B); Vite copies it into dist/ on build.
  • web/index.html gains <link rel="icon" type="image/svg+xml"> and a <meta name="theme-color" content="#15120e"> (dark espresso, for mobile browser chrome).
  • No Go change needed — the embed handler (web/embed.go) already serves real dist/ files before the SPA fallback, so /favicon.svg is served directly.
  • web/dist rebuilt and committed (no asset-hash churn — only index.html changed plus the new favicon).

Test Plan

  • npm run typecheck clean
  • npm run builddist/favicon.svg emitted, dist/index.html references it
  • npm run test — 17/17 pass
  • go test ./web/ — embed handler test passes
  • No web asset-hash churn (JS/CSS bundles unchanged)

Cream serif R on a terracotta tile (#d2603f) matching the Relay wordmark, as
an SVG so it scales crisply and embeds with the existing go:embed dist. Adds the
icon link and a theme-color meta to index.html; Vite copies public/favicon.svg
into dist/ where the server already serves real assets before the SPA fallback.
@StrangeNoob StrangeNoob merged commit 3ff2c74 into main Jun 9, 2026
4 checks passed
@StrangeNoob StrangeNoob deleted the favicon branch June 9, 2026 13:51
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