mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-16 22:20:50 +00:00
Render hero top bar only if there is an event on that day
This commit is contained in:
parent
c1e560b94a
commit
a045b39428
@ -46,9 +46,7 @@
|
|||||||
headerImgEl.classList.add(getBanner(todayEvent));
|
headerImgEl.classList.add(getBanner(todayEvent));
|
||||||
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
headerTopBarEl.textContent = "Welcome to Leilukin's Hub!";
|
|
||||||
};
|
|
||||||
|
|
||||||
function getTodayEvent() {
|
function getTodayEvent() {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user