From 207f3e08dee0f599658c90359145d6f8a41cfadb Mon Sep 17 00:00:00 2001 From: Honey Date: Sat, 21 Feb 2026 01:49:38 +0100 Subject: [PATCH] Greetings and Bug fixes Mobile --- public/app.js | 14 +++++++------- public/styles.css | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/public/app.js b/public/app.js index 5ee2e41..eb8d5ba 100644 --- a/public/app.js +++ b/public/app.js @@ -63,20 +63,20 @@ class App { if (hour >= 5 && hour < 12) { emoji = '☀️'; - greeting = 'Good morning, Marc'; + greeting = 'Good morning, >Laila'; sub = 'Ready to learn something new today?'; } else if (hour >= 12 && hour < 17) { emoji = '🌞'; - greeting = 'Good afternoon, Marc'; - sub = 'Keep up the momentum!'; + greeting = 'Good afternoon, Laila'; + sub = 'Some chill time with Coffee?'; } else if (hour >= 17 && hour < 21) { emoji = '🌇'; - greeting = 'Good evening, Marc'; - sub = 'Great time to wrap up some goals.'; + greeting = 'Good evening, Laila'; + sub = 'Perfect time to learn!'; } else { emoji = '🌙'; - greeting = 'Hey there, Marc'; - sub = 'Burning the midnight oil?'; + greeting = 'Oh hey Laila'; + sub = 'Night grind is on going.'; } document.getElementById('greeting-banner').innerHTML = ` diff --git a/public/styles.css b/public/styles.css index e566669..a61ac72 100644 --- a/public/styles.css +++ b/public/styles.css @@ -1017,6 +1017,7 @@ button { } .header-actions { justify-content: space-between; } + .view-toggle { margin-left: auto; } .form-row-2 { grid-template-columns: 1fr; } .task-card { padding: 10px 12px; } .greeting-banner .greeting-text { font-size: 1em; }