updates for zone
All checks were successful
Zone / build (push) Successful in 13s

This commit is contained in:
2026-06-17 20:53:21 +01:00
parent 569c9853bf
commit d4f24eea6a

View File

@@ -565,12 +565,12 @@ function setDailyMessage() {
} }
function startCountdown() { function startCountdown() {
const target = new Date('2026-05-27T00:00:00'); const target = new Date('2026-08-01T00:00:00');
document.getElementById('countdownLabel').textContent = 'Eid'; document.getElementById('countdownLabel').textContent = 'Wedding';
function update() { function update() {
const diff = target - new Date(); const diff = target - new Date();
if (diff <= 0) { if (diff <= 0) {
document.getElementById('countdownDisplay').innerHTML = '<p style="color:var(--green);font-weight:700">Eid is now</p>'; document.getElementById('countdownDisplay').innerHTML = '<p style="color:var(--green);font-weight:700">Nikah is now</p>';
return; return;
} }
document.getElementById('cd-days').textContent = String(Math.floor(diff / 86400000)).padStart(3, '0'); document.getElementById('cd-days').textContent = String(Math.floor(diff / 86400000)).padStart(3, '0');