Align current match page top navigation
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
---
|
||||
id: TASK-235
|
||||
title: Align current match page top navigation
|
||||
status: done
|
||||
type: frontend
|
||||
team: Frontend Senior
|
||||
supporting_teams: []
|
||||
roadmap_item: foundation
|
||||
priority: low
|
||||
---
|
||||
|
||||
# TASK-235 - Align current match page top navigation
|
||||
|
||||
## Goal
|
||||
|
||||
Align `partida-actual.html` with the top navigation pattern used by the public pages.
|
||||
|
||||
## Context
|
||||
|
||||
The current match page had the contextual `VOLVER INICIO` button inside the hero, but it did not include the shared `public-nav` bar used by `index.html`, `historico.html`, `stats.html` and `ranking.html`.
|
||||
|
||||
## Files Read First
|
||||
|
||||
- `frontend/index.html`
|
||||
- `frontend/historico.html`
|
||||
- `frontend/historico-partida.html`
|
||||
- `frontend/ranking.html`
|
||||
- `frontend/stats.html`
|
||||
- `frontend/partida-actual.html`
|
||||
|
||||
## Pattern Found
|
||||
|
||||
- Public pages use `<nav class="public-nav" aria-label="Navegación pública principal">` before the hero.
|
||||
- The nav links are `Inicio`, `Histórico`, `Estadísticas` and `Ranking`.
|
||||
- The detail pages also keep contextual hero actions such as `VOLVER HISTORICO` or `VOLVER INICIO`.
|
||||
|
||||
## Changes
|
||||
|
||||
1. Added the shared public navigation bar before the hero in `frontend/partida-actual.html`.
|
||||
2. Kept the existing `VOLVER INICIO` hero button.
|
||||
3. Kept the existing hero actions `Abrir historico` and `Ver scoreboard publico`.
|
||||
4. Did not add CSS or JS because the existing `public-nav` classes already cover the layout.
|
||||
|
||||
## Validation
|
||||
|
||||
- Confirmed `partida-actual.html` keeps `VOLVER INICIO`.
|
||||
- Confirmed `partida-actual.html` keeps `Marcador en curso`, map hero markup, `Abrir historico` and `Ver scoreboard publico`.
|
||||
- Confirmed the new top navigation links point to existing public pages:
|
||||
- `./index.html`
|
||||
- `./historico.html`
|
||||
- `./stats.html`
|
||||
- `./ranking.html`
|
||||
|
||||
## Outcome
|
||||
|
||||
The current match page now matches the public top navigation pattern while preserving its current-match-specific hero controls.
|
||||
|
||||
No backend, assets, weapon assets, clan assets, SVGs, physical images, `tmp/`, `ai/system-metrics.md`, RCON settings, `27001`, Elo/MMR or Comunidad Hispana #03 handling were changed.
|
||||
@@ -14,6 +14,20 @@
|
||||
</head>
|
||||
<body data-backend-base-url="http://127.0.0.1:8000">
|
||||
<div class="page-shell historical-shell">
|
||||
<nav class="public-nav" aria-label="Navegación pública principal">
|
||||
<a class="public-nav__link" href="./index.html">
|
||||
Inicio
|
||||
</a>
|
||||
<a class="public-nav__link" href="./historico.html">
|
||||
Histórico
|
||||
</a>
|
||||
<a class="public-nav__link" href="./stats.html">
|
||||
Estadísticas
|
||||
</a>
|
||||
<a class="public-nav__link" href="./ranking.html">
|
||||
Ranking
|
||||
</a>
|
||||
</nav>
|
||||
<header class="hero historical-hero">
|
||||
<div class="hero__overlay"></div>
|
||||
<div class="hero__content historical-hero__content">
|
||||
|
||||
Reference in New Issue
Block a user