From fe9e2ab62a005355e4ed41a754d931bc157d5edd Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 18 Jun 2026 17:39:47 +0000 Subject: [PATCH] Polish Infrastructure status cards and add network background to Resource Trend Make status cards more transparent with centered, better-spaced content, and apply the network-traffic background to Resource Trend with a blue/orange/green/brown line set. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01BbJV5nm8KPVH1oNJYKpnoF --- src/pages/Infrastructure.tsx | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/pages/Infrastructure.tsx b/src/pages/Infrastructure.tsx index 8e5119a..fadaa90 100644 --- a/src/pages/Infrastructure.tsx +++ b/src/pages/Infrastructure.tsx @@ -33,6 +33,7 @@ const trendData = Array.from({ length: 14 }, (_, i) => ({ compute: 60 + i * 0.6 + Math.sin(i / 2) * 3, storage: 35 + i * 0.4 + Math.cos(i / 3) * 2, database: 20 + i * 0.2 + Math.sin(i / 4) * 1.5, + network: 45 + i * 0.3 + Math.cos(i / 2.5) * 2.5, })) const activities = [ @@ -181,19 +182,23 @@ export default function Infrastructure() { {/* Status Cards */} -
+
{statusCards.map((card) => { const Icon = card.icon return ( -
-

+
+

{card.label}

- - {card.value} + + {card.value}
-

{card.sub}

+

{card.sub}

) })} @@ -237,16 +242,19 @@ export default function Infrastructure() {
{/* Resource Trend */} -
+
+
+

Resource Trend

- + +