47 lines
2.3 KiB
Markdown
47 lines
2.3 KiB
Markdown
---
|
|
quick_id: "261024-001"
|
|
slug: logo-asset-replacement
|
|
date: "2026-10-24"
|
|
status: complete
|
|
---
|
|
|
|
# Quick task 261024-001: Replace logo references with master assets
|
|
|
|
## Summary
|
|
|
|
All logo references in the repository now point to the new master logo files
|
|
under `assets/MASTER_FILE-arah2_logo.*`. SVG is used where browsers/Markdown
|
|
render it; PNG is used for the Telegram `sendPhoto` path because Telegram's
|
|
photo API requires a raster image.
|
|
|
|
## Changes made
|
|
|
|
| # | File | Change |
|
|
|---|------|--------|
|
|
| 1 | `README.md` | Logo `src` changed from `assets/logo_arah2.png` to `assets/MASTER_FILE-arah2_logo.svg` |
|
|
| 2 | `.planning/tmp/arah2.wiki/Home.md` | Mirror logo URL changed to the Gitea media URL for `assets/MASTER_FILE-arah2_logo.svg` |
|
|
| 3 | `bot/src/bot/commands/start.ts` | Comment and `startLogoUrl` now reference `/MASTER_FILE-arah2_logo.png` (PNG for Telegram `sendPhoto`) |
|
|
| 4 | `web/public/MASTER_FILE-arah2_logo.svg` | Copied from `assets/MASTER_FILE-arah2_logo.svg`; served by the Worker |
|
|
| 5 | `web/public/MASTER_FILE-arah2_logo.png` | Copied from `assets/MASTER_FILE-arah2_logo.png`; served by the Worker and used by `sendPhoto` |
|
|
| 6 | `stitch_minimalist_route_navigator/{active_route_guidance,community_incident_reporter,navigate_map_overview,telegram_live_traffic_feed}/code.html` | Replaced ephemeral Google-hosted placeholder logo with local `../../assets/MASTER_FILE-arah2_logo.svg`; updated `alt` to `arah² logo` in all four mockups |
|
|
|
|
## Verification
|
|
|
|
- `grep` across `.md`, `.html`, `.ts`, `.json`, and `.jsonc` files shows no
|
|
remaining active references to `logo_arah2.png` or `lh3.googleusercontent.com/aida/`
|
|
logo URLs. Descriptive mentions in the quick-task PLAN/SUMMARY and in
|
|
legacy-doc paragraphs are intentional.
|
|
- `npm test -w bot` passes: 125 passed, 0 failed.
|
|
- New public assets exist in `web/public/` and are non-empty.
|
|
|
|
## Notes
|
|
|
|
- The legacy files `assets/logo_arah2.png` and `web/public/logo_arah2.png` were
|
|
left in place; only references were redirected.
|
|
- The `@assets/MASTER_FILE-arah2_logo.svg` directive was interpreted as the
|
|
conceptual primary asset. In concrete paths: repo-root-relative
|
|
`assets/MASTER_FILE-arah2_logo.svg` for `README.md`, the Gitea media absolute
|
|
URL for the wiki mirror, and the public URL `/MASTER_FILE-arah2_logo.png`
|
|
for the bot's Telegram `sendPhoto` call (PNG is required by Telegram's photo
|
|
API).
|