41 lines
2.3 KiB
Markdown
41 lines
2.3 KiB
Markdown
---
|
|
gsd_plan_version: 1.0
|
|
mode: quick
|
|
task: Replace all logo references with the new master logo assets
|
|
quick_id: "261024-001"
|
|
slug: logo-asset-replacement
|
|
date: "2026-10-24"
|
|
---
|
|
|
|
# Quick task 261024-001: Replace logo references with master assets
|
|
|
|
## Goal
|
|
|
|
Point every logo reference in the repository to the new master logo files under
|
|
`assets/MASTER_FILE-arah2_logo.*`. The primary asset is the SVG; raster formats
|
|
are used only where the consuming context requires them (Telegram `sendPhoto`
|
|
must use PNG).
|
|
|
|
## must_haves
|
|
|
|
- `README.md` renders the logo from `assets/MASTER_FILE-arah2_logo.svg`.
|
|
- `.planning/tmp/arah2.wiki/Home.md` mirrors the README logo reference.
|
|
- `bot/src/bot/commands/start.ts` serves the logo via the static-asset public
|
|
URL `/MASTER_FILE-arah2_logo.png` (PNG is required by Telegram `sendPhoto`).
|
|
- The Worker can actually serve the new logo files: copy
|
|
`assets/MASTER_FILE-arah2_logo.svg` and `assets/MASTER_FILE-arah2_logo.png`
|
|
into `web/public/` so they are emitted to `web/dist/` on build.
|
|
- The legacy mockups in `stitch_minimalist_route_navigator/*/` stop hotlinking
|
|
the ephemeral Google-hosted placeholder logo and use the local master SVG
|
|
(`../../assets/MASTER_FILE-arah2_logo.svg`).
|
|
|
|
## Tasks
|
|
|
|
| # | Files | Action | Verify | Done |
|
|
|---|-------|--------|--------|------|
|
|
| 1 | `README.md` | Replace `assets/logo_arah2.png` with `assets/MASTER_FILE-arah2_logo.svg` | grep shows new path, no old path | [x] |
|
|
| 2 | `.planning/tmp/arah2.wiki/Home.md` | Replace mirror logo URL with the Gitea media URL for `assets/MASTER_FILE-arah2_logo.svg` | grep shows new path, no old path | [x] |
|
|
| 3 | `bot/src/bot/commands/start.ts` | Update comment + `startLogoUrl` to return `/MASTER_FILE-arah2_logo.png` | grep shows new path, no old path; `npm test -w bot` passes | [x] |
|
|
| 4 | `web/public/MASTER_FILE-arah2_logo.svg`, `web/public/MASTER_FILE-arah2_logo.png` | Copy from `assets/` | files exist and are non-empty | [x] |
|
|
| 5 | `stitch_minimalist_route_navigator/{active_route_guidance,community_incident_reporter,navigate_map_overview,telegram_live_traffic_feed}/code.html` | Replace `lh3.googleusercontent.com/aida/...` logo `src` with `../../assets/MASTER_FILE-arah2_logo.svg`; update `alt` to `arah² logo` | grep shows new path, no Google logo URL in any mockup | [x] |
|