fix
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
40ebd27fcc
commit
f091a8aa71
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ Ciao! 👋
|
|||
const hour = now.getHours();
|
||||
|
||||
// If it's Thursday (4) and between 18:00–23:59
|
||||
if (day === 5 && hour >= 18 && hour < 24) {
|
||||
if (day === 4 && hour >= 18 && hour < 24) {
|
||||
img.src = "/hackinpovo-active.jpg"; // <-- special image
|
||||
}
|
||||
else if (day === 4 && hour>=18 && hour < 24){
|
||||
else if (day === 5 && hour>=0 && hour < 3){
|
||||
img.src = "/steve-jobs-bill-gates.jpg";
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue