Restored to '0894a95fa90f5d79483f1bc98af2ccf244dd36eb'
Replit-Restored-To: 0894a95fa9
This commit is contained in:
@ -73,14 +73,13 @@ export default function MainContent() {
|
||||
const renderOutletCard = (outlet: MediaOutlet) => {
|
||||
const articleCount = articleCountByOutlet[outlet.id] || 0;
|
||||
const hasArticles = articleCount > 0;
|
||||
const isErlingHaaland = outlet.slug === 'erling-haaland';
|
||||
|
||||
return (
|
||||
<Card
|
||||
key={outlet.id}
|
||||
className={`hover:shadow-md transition-all cursor-pointer bg-white relative ${
|
||||
hasArticles ? 'animate-float ring-2 ring-blue-400/30 shadow-lg' : ''
|
||||
} ${isErlingHaaland ? 'animate-shake' : ''}`}
|
||||
}`}
|
||||
data-testid={`card-outlet-${outlet.id}`}
|
||||
>
|
||||
{hasArticles && (
|
||||
|
||||
Reference in New Issue
Block a user