Skip to content

Commit

Permalink
chore: remove unneeded filter className
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Mar 18, 2024
1 parent e2049a4 commit 9f8b26e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/events/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function EventCard({
alt={`${event.title}`}
width={450}
height={450}
className={`w-full shrink-0 rounded-lg border-[3px] border-black bg-white object-contain md:w-[450px] ${isPastEvent ? 'grayscale filter' : ''}`}
className={`w-full shrink-0 rounded-lg border-[3px] border-black bg-white object-contain md:w-[450px] ${isPastEvent ? 'grayscale' : ''}`}
/>
<div className="grow space-y-2 md:space-y-4">
<div className="flex gap-6 font-bold">
Expand All @@ -52,7 +52,7 @@ function EventCard({
</div>
</div>
<div
className={`h-fit rounded-md border-[3px] border-black px-4 py-2 ${['bg-orange', 'bg-yellow', 'bg-purple'][index % 3]} ${isPastEvent ? 'grayscale filter' : ''}`}
className={`h-fit rounded-md border-[3px] border-black px-4 py-2 ${['bg-orange', 'bg-yellow', 'bg-purple'][index % 3]} ${isPastEvent ? 'grayscale' : ''}`}
>
<div>{event.date.month}</div>
<div>{event.date.day}</div>
Expand Down

0 comments on commit 9f8b26e

Please sign in to comment.