chore(brand): swap header logo to a real svg + ship favicons for portal-admin
CI / scan (pull_request) Successful in 3m13s
CI / commits (pull_request) Successful in 3m56s
CI / check (pull_request) Successful in 4m12s
CI / a11y (pull_request) Successful in 3m33s
CI / perf (pull_request) Successful in 9m23s

Two related brand-asset cleanups bundled per request:

portal-shell — header logo:
- Replace `apf-small.png` (a 7.6 KB raster wrapped through sharp from
  the original PNG-in-SVG file) with `apf-logo.svg`, an actual
  vector 1024×1024 export (2.1 KB). Sharper at any density, smaller
  payload, no rasterisation artefacts when the header zooms.
- `header.html` swaps the `<img src=…>` accordingly.
- The wide-format `apf-portal.svg` stays in place for future
  surfaces (login splash, etc.).

portal-admin — favicons + PWA manifest:
- Mirror portal-shell's PR #84 setup. Copy the six favicon image
  assets (favicon.ico, favicon.svg, favicon-96x96.png,
  apple-touch-icon.png, web-app-manifest-{192,512}.png) into
  `apps/portal-admin/public/favicons/`. Single visual identity
  across the two apps.
- Customise `site.webmanifest`: `name: "APF Portal Admin"`,
  `short_name: "Admin"`. PWA install banners and home-screen
  icons read the right app name when admin is installed
  standalone. Icon entries + theme-color + display stay identical
  to portal-shell.
- Wire `<link>` tags in `apps/portal-admin/src/index.html` mirroring
  portal-shell's, plus `<meta name="theme-color">`.
- Remove the now-obsolete top-level `apps/portal-admin/public/favicon.ico`
  (replaced by the entry under `favicons/`, referenced via
  `<link rel="shortcut icon">`).

Verified: `nx run-many -t lint test build --projects=portal-shell,
portal-admin` green; both `dist/.../browser/{en,fr}/favicons/` ship
the seven expected files; admin manifest contains "APF Portal Admin";
admin `index.html` has the right `<link>` block.
This commit is contained in:
Julien Gautier
2026-05-12 11:56:08 +02:00
parent 0eb404d111
commit 22fd93a43a
12 changed files with 35 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB