after midnight
All checks were successful
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 8s

This commit is contained in:
Mattia 2025-08-28 21:40:56 +02:00
parent 335c38deb9
commit 25b8afb653
2 changed files with 6 additions and 2 deletions

View file

@ -20,9 +20,13 @@ Ciao! 👋
const hour = now.getHours();
// If it's Thursday (4) and between 18:0023:59
if (day === 4 && hour >= 18 && hour < 24) {
if (day === 5 && hour >= 18 && hour < 24) {
img.src = "/hackinpovo-active.jpg"; // <-- special image
} else {
}
else if (day === 4 && hour>=18 && hour < 24){
img.src = "/content/steve-jobs-bill-gates.avif";
}
else {
img.src = "/hackinpovo.jpg"; // default image
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB