Skip to content

Commit

Permalink
feat: make convene icon change depending on banner type
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Bonghanoy committed Jun 5, 2024
1 parent 08015fe commit 24f9c8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
12 changes: 8 additions & 4 deletions src/components/convenes/banner-stats-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function BannerStatsCard({
<div className="flex gap-1">
<h1 className="text-lg">{stats ? stats.totalAstrites : 0}</h1>
<Image
src={"/icons/astrites.png"}
src={"/icons/astrite.png"}
width={30}
height={8}
alt="Astrites"
Expand All @@ -96,9 +96,13 @@ export function BannerStatsCard({
<div className="flex gap-1">
<h1 className="text-lg">{stats ? stats.totalPulls : 0}</h1>
<Image
src={"/icons/special-convene.png"}
width={30}
height={8}
src={
description.includes("Event")
? "/icons/radiant-tide.webp"
: "/icons/lustrous-tide.webp"
}
width={25}
height={7}
alt="Special Convene"
/>
</div>
Expand Down

0 comments on commit 24f9c8b

Please sign in to comment.