From 8c0a44a50073f54945f97115c40f641f6f507f8b Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Wed, 11 Jun 2025 22:05:38 +0200 Subject: [PATCH] Update UptimeStatusIsland component styles and gradient for improved visual representation - Changed the progress bar gradient to a blue color scheme for better alignment with the overall design. - Adjusted the height and border radius of the progress bar for a more modern appearance. - Enhanced the transition effect and added a box shadow for improved visual depth. --- src/components/UptimeStatusIsland.jsx | 31 +++++++++++++-------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/components/UptimeStatusIsland.jsx b/src/components/UptimeStatusIsland.jsx index 38db80a..b8a1602 100644 --- a/src/components/UptimeStatusIsland.jsx +++ b/src/components/UptimeStatusIsland.jsx @@ -246,7 +246,7 @@ export default function UptimeStatusIsland() { const totalBarSeconds = 5 * 60; const barValue = secondsToNextUpdate !== null ? (totalBarSeconds - secondsToNextUpdate) : 0; const barPercent = (barValue / totalBarSeconds) * 100; - const barGradient = 'linear-gradient(90deg, #ef4444 0%, #eab308 40%, #22c55e 100%)'; + const barGradient = 'linear-gradient(90deg, #0161ef 0%, #0154cf 100%)'; // Format countdown as 'X min XX sec' or 'XXs' let countdownText = '--'; @@ -263,30 +263,29 @@ export default function UptimeStatusIsland() { return (
-
+
-