From 3789de69025e6e739903aefec4c209ab637f5f33 Mon Sep 17 00:00:00 2001 From: devRaGonSa Date: Thu, 11 Jun 2026 09:25:43 +0200 Subject: [PATCH] Adjust HLL Vietnam countdown copy --- ...K-234-adjust-hll-vietnam-countdown-copy.md | 49 +++++++++++++++++++ frontend/assets/js/main.js | 2 +- frontend/index.html | 7 ++- 3 files changed, 53 insertions(+), 5 deletions(-) create mode 100644 ai/tasks/done/TASK-234-adjust-hll-vietnam-countdown-copy.md diff --git a/ai/tasks/done/TASK-234-adjust-hll-vietnam-countdown-copy.md b/ai/tasks/done/TASK-234-adjust-hll-vietnam-countdown-copy.md new file mode 100644 index 0000000..0047f29 --- /dev/null +++ b/ai/tasks/done/TASK-234-adjust-hll-vietnam-countdown-copy.md @@ -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. diff --git a/frontend/assets/js/main.js b/frontend/assets/js/main.js index eb56f0c..3f2c1c9 100644 --- a/frontend/assets/js/main.js +++ b/frontend/assets/js/main.js @@ -410,7 +410,7 @@ function initializeReleaseCountdown(root) { root.classList.remove("is-available"); if (nodes.status) { - nodes.status.textContent = "Objetivo: 13 de agosto de 2026."; + nodes.status.textContent = ""; } return true; }; diff --git a/frontend/index.html b/frontend/index.html index a8d5bd4..117044d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -94,7 +94,9 @@ >

Hell Let Loose Vietnam

-

Cuenta atras para el lanzamiento

+

+ Fecha de lanzamiento de Hell Let Loose Vietnam (13 de agosto) +

@@ -114,9 +116,6 @@ Segundos
-

- Objetivo: 13 de agosto de 2026. -