From f091a8aa7187babd5320705220f7f79cded4c5b1 Mon Sep 17 00:00:00 2001 From: Mattia Date: Thu, 28 Aug 2025 21:49:20 +0200 Subject: [PATCH] fix --- content/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index 1c3285c..5faab94 100644 --- a/content/_index.md +++ b/content/_index.md @@ -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 {