From d4d521b40bc290de22662be1021e4d3672651dbc Mon Sep 17 00:00:00 2001 From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com> Date: Wed, 1 Oct 2025 05:49:07 +0000 Subject: [PATCH] Remove card vibration animation for specific content Removed conditional logic for 'animate-shake' and 'animate-float-shake' classes in MainContent.tsx, simplifying animation to only 'animate-float' when articles are present. Replit-Commit-Author: Agent Replit-Commit-Session-Id: f8b8f0ea-e52e-4118-9b6b-e44184e17203 Replit-Commit-Checkpoint-Type: full_checkpoint --- client/src/components/MainContent.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/client/src/components/MainContent.tsx b/client/src/components/MainContent.tsx index 3e07455..755a9a7 100644 --- a/client/src/components/MainContent.tsx +++ b/client/src/components/MainContent.tsx @@ -75,13 +75,9 @@ export default function MainContent() { const hasArticles = articleCount > 0; const isErlingHaaland = outlet.slug === 'erling-haaland'; - const animationClass = isErlingHaaland && hasArticles - ? 'animate-float-shake ring-2 ring-blue-400/30 shadow-lg' - : isErlingHaaland - ? 'animate-shake' - : hasArticles - ? 'animate-float ring-2 ring-blue-400/30 shadow-lg' - : ''; + const animationClass = hasArticles + ? 'animate-float ring-2 ring-blue-400/30 shadow-lg' + : ''; return (