mirror of
https://github.com/LucasKalil-Programador/world-2026-hub.git
synced 2026-07-04 17:41:28 -03:00
- New Comparator sub-nav section (available once >=1 match played). Two team selects (all 48, alphabetical), defaulting to the top-2 ranked teams; the choice survives langchange (module-level cmpA/cmpB). - Diverging mirrored bars: A grows left from the centre metric label, B right; each row scales to max(a,b) so the longer bar is the higher value, and the higher side's number is gold. Metrics P/W/GF/GA/CS/Pts (all non-negative). cmp-grow scaleX animation from the centre edge; off under reduced-motion. - On select change only the bars panel re-renders (keeps focus, replays the animation). - Players side intentionally NOT shipped: a disabled toggle would be a dead control (violates the graceful-degradation rule). The Teams/Players toggle arrives in Stage H with players.json. - i18n comparatorTitle/cmpTeamA/cmpTeamB (EN/PT); CSS for the comparator. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.js | ||
| bracket.js | ||
| calendar.js | ||
| groups.js | ||
| i18n.js | ||
| modal.js | ||
| schedule.js | ||
| stadiums.js | ||
| stats.js | ||
| storage.js | ||