Adjust HLL Vietnam countdown copy

This commit is contained in:
devRaGonSa
2026-06-11 09:25:43 +02:00
parent 3ab683e458
commit 3789de6902
3 changed files with 53 additions and 5 deletions

View File

@@ -0,0 +1,49 @@
---
id: TASK-234
title: Adjust HLL Vietnam countdown copy
status: done
type: frontend
team: Frontend Senior
supporting_teams: []
roadmap_item: foundation
priority: low
---
# TASK-234 - Adjust HLL Vietnam countdown copy
## Goal
Adjust the public home countdown copy without changing the countdown target, position or behavior.
## Context
The home countdown already exists below the main trailer video. The visible copy needed to remove the extra objective line and make the section title explicit.
## Files Read First
- `ai/architecture-index.md`
- `ai/repo-context.md`
- `ai/orchestrator/frontend-senior.md`
- `frontend/index.html`
- `frontend/assets/js/main.js`
## Changes
1. Changed the countdown heading to `Fecha de lanzamiento de Hell Let Loose Vietnam (13 de agosto)`.
2. Removed the visible `Objetivo: 13 de agosto de 2026.` line from the countdown block.
3. Updated the countdown JS so it no longer restores `Objetivo:` into a status node before the target date.
4. Preserved the target date `2026-08-13T00:00:00+02:00`.
5. Preserved the days, hours, minutes and seconds counter.
## Validation
- `node --check frontend/assets/js/main.js`
- Confirmed `Objetivo:` no longer appears in `frontend/index.html` or `frontend/assets/js/main.js`.
- Confirmed the exact heading appears in `frontend/index.html`.
- Confirmed the countdown still uses `window.setInterval(..., 1000)`.
## Outcome
The home countdown now presents the release date as the main section title and keeps the existing frontend-only countdown logic.
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.

View File

@@ -410,7 +410,7 @@ function initializeReleaseCountdown(root) {
root.classList.remove("is-available"); root.classList.remove("is-available");
if (nodes.status) { if (nodes.status) {
nodes.status.textContent = "Objetivo: 13 de agosto de 2026."; nodes.status.textContent = "";
} }
return true; return true;
}; };

View File

@@ -94,7 +94,9 @@
> >
<div class="release-countdown__copy"> <div class="release-countdown__copy">
<p class="eyebrow eyebrow--section">Hell Let Loose Vietnam</p> <p class="eyebrow eyebrow--section">Hell Let Loose Vietnam</p>
<h3 id="release-countdown-title">Cuenta atras para el lanzamiento</h3> <h3 id="release-countdown-title">
Fecha de lanzamiento de Hell Let Loose Vietnam (13 de agosto)
</h3>
</div> </div>
<div class="release-countdown__units" aria-live="off"> <div class="release-countdown__units" aria-live="off">
<article> <article>
@@ -114,9 +116,6 @@
<span>Segundos</span> <span>Segundos</span>
</article> </article>
</div> </div>
<p class="release-countdown__status" data-countdown-status>
Objetivo: 13 de agosto de 2026.
</p>
</section> </section>
</div> </div>
</section> </section>