1
0
mirror of https://github.com/helenclx/leilukin-site.git synced 2025-04-15 08:50:50 +00:00

Render hero top bar only if there is an event on that day

This commit is contained in:
Helen Chong 2024-04-16 00:12:49 +08:00
parent c1e560b94a
commit a045b39428

@ -46,9 +46,7 @@
headerImgEl.classList.add(getBanner(todayEvent));
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
}
} else {
headerTopBarEl.textContent = "Welcome to Leilukin's Hub!";
};
}
function getTodayEvent() {
const date = new Date();