diff --git a/apps/portal-shell/src/app/app.html b/apps/portal-shell/src/app/app.html index 0f124a2..d5b6da7 100644 --- a/apps/portal-shell/src/app/app.html +++ b/apps/portal-shell/src/app/app.html @@ -1,4 +1,4 @@ - +
diff --git a/apps/portal-shell/src/app/app.routes.ts b/apps/portal-shell/src/app/app.routes.ts index 42fd526..03db77f 100644 --- a/apps/portal-shell/src/app/app.routes.ts +++ b/apps/portal-shell/src/app/app.routes.ts @@ -1,11 +1,18 @@ import { Route } from '@angular/router'; +// Tab titles per route — marked with `$localize` so each locale's +// bundle ships its own. The `/accessibility` and `/accessibilite` +// pair shares a title key; the upcoming route fusion (per ADR-0019) +// collapses them to a single localised route. +const homeTitle = $localize`:@@route.home.title:APF Portal`; +const accessibilityTitle = $localize`:@@route.accessibility.title:Accessibility statement · APF Portal`; + export const appRoutes: Route[] = [ { path: '', pathMatch: 'full', loadComponent: () => import('./pages/home/home').then((m) => m.Home), - title: 'APF Portal', + title: homeTitle, }, // RGAA + ADR-0016: the accessibility statement must be reachable // from both locales' canonical paths. Same component, content @@ -15,13 +22,13 @@ export const appRoutes: Route[] = [ loadComponent: () => import('./pages/accessibility/accessibility').then((m) => m.AccessibilityStatement), data: { lang: 'en' }, - title: 'Accessibility statement · APF Portal', + title: accessibilityTitle, }, { path: 'accessibilite', loadComponent: () => import('./pages/accessibility/accessibility').then((m) => m.AccessibilityStatement), data: { lang: 'fr' }, - title: 'Déclaration d’accessibilité · APF Portal', + title: accessibilityTitle, }, ]; diff --git a/apps/portal-shell/src/app/components/footer/footer.html b/apps/portal-shell/src/app/components/footer/footer.html index e845a8d..b7f8081 100644 --- a/apps/portal-shell/src/app/components/footer/footer.html +++ b/apps/portal-shell/src/app/components/footer/footer.html @@ -1,14 +1,16 @@
-

© {{ year }} APF France handicap

+

© {{ year }} APF France handicap

-