From 0b978908a3cdb0259fbefed00eabbe35a87b3001 Mon Sep 17 00:00:00 2001 From: sirpiglr <49359077-sirpiglr@users.noreply.replit.com> Date: Sat, 6 Dec 2025 03:04:13 +0000 Subject: [PATCH] Add animated gradient borders to realm cards and a live stats strip Introduce animated gradient borders to IsometricRealmCard components by utilizing CSS variables and keyframe animations. Add a new "stats-strip" section to IsometricRealmSelector, displaying live project and realm statistics with responsive styling and a pulsing "Live Now" indicator. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: f769b2fa-c72d-498f-83ea-b1732d640dca Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/QlSIsyp Replit-Helium-Checkpoint-Created: true --- .replit | 8 +- client/components/IsometricRealmCard.tsx | 52 ++++++++-- client/components/IsometricRealmSelector.tsx | 100 +++++++++++++++++++ 3 files changed, 150 insertions(+), 10 deletions(-) diff --git a/.replit b/.replit index 946cff91..4da27183 100644 --- a/.replit +++ b/.replit @@ -52,6 +52,10 @@ externalPort = 80 localPort = 8044 externalPort = 3003 +[[ports]] +localPort = 38223 +externalPort = 3002 + [[ports]] localPort = 38557 externalPort = 3000 @@ -60,10 +64,6 @@ externalPort = 3000 localPort = 40437 externalPort = 3001 -[[ports]] -localPort = 43575 -externalPort = 3002 - [deployment] deploymentTarget = "autoscale" run = ["node", "dist/server/production.mjs"] diff --git a/client/components/IsometricRealmCard.tsx b/client/components/IsometricRealmCard.tsx index 198479f8..b734db20 100644 --- a/client/components/IsometricRealmCard.tsx +++ b/client/components/IsometricRealmCard.tsx @@ -94,7 +94,8 @@ export default function IsometricRealmCard({ boxShadow: isHovered ? `0 25px 50px -12px ${realm.color}40, 0 0 0 1px ${realm.color}60, inset 0 1px 0 ${realm.color}20` : `0 10px 40px -15px ${realm.color}20`, - }} + '--card-color': realm.color, + } as CSSProperties} > {/* Floating icon layer */}