Focus Page Favicons — SD $D, MBR globe fix, KB-loader refactor
Section titled “Focus Page Favicons — SD $D, MBR globe fix, KB-loader refactor”Date: 2026-05-31
Task: _WorkingOn/Tasks/Focus-Reminders.md (closed)
Repos: monorepo (~/projects/monorepo), KB (D:\FSS\KB\Business)
What changed
Section titled “What changed”Favicons (monorepo commit 700c091)
Section titled “Favicons (monorepo commit 700c091)”- MBR globe bug fixed. Focus pages deploy to subpaths (
talbotstevens.com/mbr/,/sdc/) with favicons as siblings. Relative favicon links are correct; a root-relative/favicon.svg404s under the subpath. The local “globe” was a local-only artifact of MBR’s Astrodirectorybuild layout — not a production bug.build.formatleft unchanged (changing it breaks the main site’s/rates/aboutlinks). - SD favicon now
$D.scripts/generate-favicon.mjsglyph logic changed to hidechar-S, keepchar-dollar+char-Dvisible. Regenerated SD favicon SVGs. PWA PNGs (192/512/180/167/152) left untouched — already$D, regenerating from the fixed-viewBox source would have resized them. - show=next favicon swap removed from both focus pages — favicon is now the static brand SVG always.
Focus content KB-loader (monorepo commit 22011aa)
Section titled “Focus content KB-loader (monorepo commit 22011aa)”- Focus content (SDC + MBR) now loads from KB markdown (
D:\FSS\KB\{SDC,MBR}\_WorkingOn\Focus.md) via newsites/{sdc,mbr}/src/utils/load-focus-content.ts, parsing YAML frontmatter + markdown, injecting brand spans, with inline fallback if KB unreachable at build.*-focus.tsare now thin entry points. Addedyamldep. README documents the workflow. Lets Talbot edit focus content from Obsidian (phone/desktop).
Rates (monorepo commit cd12f48)
Section titled “Rates (monorepo commit cd12f48)”rates.generated.jsonregenerated (date bump, no rate value changes).
KB (commit 853c8d3)
Section titled “KB (commit 853c8d3)”- Task file
Focus-Reminders.mdcommitted with full investigation history.
Known limitation (accepted by Talbot)
Section titled “Known limitation (accepted by Talbot)”- SD favicon reads as
SDnot$Dat 16px tab size. The$vertical stroke (~3.3 SVG units ≈ 0.5px at 16px) vanishes on downscale. Source is correct$D; PWA icons (192px+) render$Dcleanly. Talbot decided to accept as-is. Known fix (deferred): fatten the$stroke insrc/brand/sd/logos/svg-paths-base/sd-leaf-dot.svg, regenerate. Tested working at bar width ~7 units.
Gotchas captured
Section titled “Gotchas captured”- Read deploy scripts before touching favicon paths — deploy target URL structure dictates relative vs absolute (memory:
project_focus_pages_subpath_deploy). - Test favicons at actual 16px, not just 32/64px — thin strokes disappear (memory:
project_sd_favicon_dollar_16px). - Stray background
http.server/astro checkdegrade the shell (truncated output,EOF_8f3a/EOL_8f3amarkers); barepkillcrashes the foreground shell; don’tsleep-poll (harness blocks it) (memory:feedback_kill_bg_servers_after_use).