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));
|
||||
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
}
|
||||
} else {
|
||||
headerTopBarEl.textContent = "Welcome to Leilukin's Hub!";
|
||||
};
|
||||
}
|
||||
|
||||
function getTodayEvent() {
|
||||
const date = new Date();
|
||||
|
|
Loading…
Reference in New Issue