Move today event variable to individual hero templates
This commit is contained in:
parent
c95d0e0546
commit
9bb88594a6
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||
<link href="https://leilukin.neocities.org"/>
|
||||
<updated>2024-04-29T03:03:55Z</updated>
|
||||
<updated>2024-04-29T03:15:37Z</updated>
|
||||
<id>https://leilukin.neocities.org</id>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -97,11 +97,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -92,11 +92,12 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block eventScript %}
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block eventScript %}
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
|
||||
<script defer>
|
||||
const hero = document.querySelector(".hero");
|
||||
const todayEvent = getTodayEvent();
|
||||
const heroTopBarEl = document.querySelector(".hero__top-bar");
|
||||
const headerImgEl = document.querySelector(".hero__img");
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block eventScript %}
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block eventScript %}
|
||||
const todayEvent = getTodayEvent();
|
||||
|
||||
if (todayEvent != "No event") {
|
||||
heroTopBarEl.classList.remove('hidden');
|
||||
heroTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
|
|
Loading…
Reference in New Issue