chore(brand): swap header logo to a real svg + ship favicons for portal-admin #106
Reference in New Issue
Block a user
Delete Branch "chore/brand-assets-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two related brand-asset cleanups, bundled per request:
portal-shell — header logo
apf-small.png(a 7.6 KB raster we'd extracted from the original PNG-in-SVG and re-encoded through sharp) withapf-logo.svg— an actual 1024×1024 vector export (2.1 KB). Sharper at any density, smaller payload, no rasterisation artefacts when zoomed.header.htmlswaps<img src=…>accordingly.apf-portal.svgstays in place for future surfaces (login splash, etc.).portal-admin — favicons + PWA manifest
Mirrors what PR #84 did for
portal-shell:favicon.ico,favicon.svg,favicon-96x96.png,apple-touch-icon.png,web-app-manifest-{192,512}.png) intoapps/portal-admin/public/favicons/. Single visual identity across the two apps.site.webmanifestfor admin:name: "APF Portal Admin",short_name: "Admin". Everything else (icons, theme-color, display) stays identical to portal-shell's manifest.<link>block +<meta name="theme-color">inapps/portal-admin/src/index.html.apps/portal-admin/public/favicon.ico— now underfavicons/, served via<link rel="shortcut icon">.Decision worth flagging
Assets duplicated rather than shared via a lib. Both apps ship their own copy of the 7 favicon files (~120 KB binary each). The alternative — a
shared-assets(or extendedshared-tokens) lib with the assets glob copied into each app'sdist/at build time — is the architecturally tidier path, but introduces a build-config change with no real payoff at our scale. Revisit if a third surface (e.g., a future static landing page) ends up needing the same set.Verification
nx run-many -t lint test build --projects=portal-shell,portal-admin— green.dist/apps/{portal-shell,portal-admin}/browser/{en,fr}/favicons/ship the seven expected files.site.webmanifestcarries"name": "APF Portal Admin".index.htmlcarries the full<link>block +theme-colormeta.apf-logo.svgin itslogos/folder per locale;apf-small.pngis gone.Test plan
nx serve portal-shell→ header shows the new SVG logo crisp at 1x / 2x / 3x DPR.nx serve portal-admin→ tab favicon visible, dev tools → Application → Manifest shows "APF Portal Admin" with no errors.