From e9c44332a5186ba1ebc96ee7a202ce73e1ba7636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Orzech?= Date: Sat, 28 Jun 2025 17:01:32 +0200 Subject: [PATCH] Update index.html added more emojis --- index.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e315fb6..9dc8fb1 100644 --- a/index.html +++ b/index.html @@ -328,11 +328,17 @@ // Determine emoji based on hour const hour = now.getHours(); let emoji; - if (hour >= 6 && hour < 18) { // 6 AM to 5:59 PM + if (hour >= 5 && hour < 7) { // Dawn + emoji = '🌅'; + } else if (hour >= 7 && hour < 12) { // Morning emoji = '☀️'; - } else if (hour >= 18 && hour < 20) { // 6 PM to 7:59 PM (sunset) + } else if (hour >= 12 && hour < 17) { // Afternoon + emoji = '😎'; + } else if (hour >= 17 && hour < 19) { // Dusk emoji = '🌇'; - } else { // 8 PM to 5:59 AM + } else if (hour >= 19 && hour < 22) { // Evening + emoji = '🌆'; + } else { // Night emoji = '🌙'; }