after midnight
All checks were successful
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 8s
All checks were successful
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 8s
This commit is contained in:
parent
335c38deb9
commit
25b8afb653
2 changed files with 6 additions and 2 deletions
|
@ -20,9 +20,13 @@ Ciao! 👋
|
|||
const hour = now.getHours();
|
||||
|
||||
// If it's Thursday (4) and between 18:00–23: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
|
||||
}
|
||||
});
|
||||
|
|
BIN
content/steve-jobs-bill-gates.avif
Normal file
BIN
content/steve-jobs-bill-gates.avif
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
Loading…
Add table
Add a link
Reference in a new issue