From 0231c4835c3bd73f7680ea1fe8dfa301e5d6949f Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 15:35:35 +0200 Subject: [PATCH] style: update stat cards with consistent hover effects and modern styling --- src/components/WorldMap.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/WorldMap.tsx b/src/components/WorldMap.tsx index f08d1a9..4bf555b 100644 --- a/src/components/WorldMap.tsx +++ b/src/components/WorldMap.tsx @@ -59,8 +59,7 @@ export function WorldMap() { initial={{ opacity: 0, x: -20 }} animate={{ opacity: 1, x: 0 }} transition={{ duration: 0.5, delay: 0.4 }} - whileHover={{ scale: 1.05 }} - className="lg:absolute lg:top-12 lg:-left-12 rounded-xl bg-white/5 backdrop-blur-md border border-white/10 px-4 lg:py-8 py-6 shadow-md w-80" + className="lg:absolute lg:top-12 lg:-left-12 w-80 rounded-2xl border border-gray-200 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md" > CORES @@ -73,8 +72,7 @@ export function WorldMap() { initial={{ opacity: 0, x: 20 }} animate={{ opacity: 1, x: 0 }} transition={{ duration: 0.5, delay: 0.5 }} - whileHover={{ scale: 1.05 }} - className="lg:absolute lg:-top-10 lg:right-0 rounded-xl bg-white/5 backdrop-blur-md border border-white/10 px-4 lg:py-8 py-6 shadow-md w-80" + className="lg:absolute lg:-top-10 lg:right-0 w-80 rounded-2xl border border-gray-200 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md" > NODES @@ -87,8 +85,7 @@ export function WorldMap() { initial={{ opacity: 0, x: -20 }} animate={{ opacity: 1, x: 0 }} transition={{ duration: 0.5, delay: 0.6 }} - whileHover={{ scale: 1.05 }} - className="lg:absolute lg:bottom-28 lg:-left-12 rounded-xl bg-white/5 backdrop-blur-md border border-white/10 px-4 lg:py-8 py-6 shadow-md w-80" + className="lg:absolute lg:bottom-28 lg:-left-12 w-80 rounded-2xl border border-gray-200 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md" > SSD CAPACITY @@ -101,8 +98,7 @@ export function WorldMap() { initial={{ opacity: 0, x: 20 }} animate={{ opacity: 1, x: 0 }} transition={{ duration: 0.5, delay: 0.7 }} - whileHover={{ scale: 1.05 }} - className="lg:absolute lg:top-44 lg:right-0 rounded-xl bg-white/5 backdrop-blur-md border border-white/10 px-4 lg:py-8 py-6 shadow-md w-80" + className="lg:absolute lg:top-47 lg:right-0 w-80 rounded-2xl border border-gray-200 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md" > COUNTRIES