todos-contra-el-fuego-web/imports/ui/components/Navigation
vjrj 8dead27d22 bootstrap: navbar collapse jQuery -> React state (BS4->5 prep)
Bootstrap's jQuery collapse (`data-toggle="collapse"` in Navigation.js, plus the
per-NavItem `data-target=".navbar-collapse.show"` auto-close) disappears when we
drop `alexwine:bootstrap-4` for `bootstrap@5`. Replace it with a React `useState`
that toggles `.show`, and close the mobile menu via an onClick on the nav <ul>.

Works on the current BS4 CSS (`.collapse.show` is pure CSS; jQuery only added the
height animation) and removes one of the two jQuery/BS4 JS blockers to the CSS
swap (the home carousel is the other). Also drops the dead sr-only toggler button
that targeted a non-existent id. No CSS changes.
2026-07-21 23:04:02 +02:00
..
Navigation.js bootstrap: navbar collapse jQuery -> React state (BS4->5 prep) 2026-07-21 23:04:02 +02:00
Navigation.scss scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00