Commit graph

4 commits

Author SHA1 Message Date
df431e40af nav: highlight active dropdown toggle in _LoginPartial
Add ActivePageAny(ViewContext, IEnumerable<string>) so a dropdown
toggle gets the active class + aria-current="page" whenever any of
its children is the current route. Apply it to the Plateforme,
Administration, and account menu toggles.
2026-06-20 20:17:36 +01:00
990608d4f7 nav: ActivePage is case-insensitive on controller/action
Fixes inactive Blogspot link: RouteData keeps the C# class name
"BlogSpot" while asp-controller matches "Blogspot" case-insensitively.
2026-06-20 19:58:58 +01:00
325cb339fd nav: highlight active page with active class and aria-current
Add PageHelpers.ActivePage extension and apply it to top-level nav
items and the Account/Register + Account/Signin items in _LoginPartial,
so the current route gets the active class and aria-current="page"
for accessibility.
2026-06-20 19:48:20 +01:00
Paul Schneider
40e8e08690 reorg 2026-02-28 21:17:54 +00:00
Renamed from src/Org/Helpers/PageHelpers.cs (Browse further)