feat: cu flags

This commit is contained in:
tresabhi committed 2026-05-05 17:11:57 -05:00
1 parent c674da29d5
commit 0e76184813
2 files changed
+4 -2

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@@ -34,7 +34,9 @@ export function TankCard(props: PropsWithSkeleton<TankCardProps>) {
<div
className={styles.flag}
style={{
backgroundImage: `url(/api/nations/${tank!.tank!.nation}/card.webp)`,
backgroundImage: clientUnmounted
? "url(/api/unmounted/flag.png)"
: `url(/api/nations/${tank!.tank!.nation}/card.webp)`,
}}
/>
)}
@@ -44,7 +46,7 @@ export function TankCard(props: PropsWithSkeleton<TankCardProps>) {
className={styles.icon}
style={{
backgroundImage: clientUnmounted
? `url(/api/unmounted/tank.png)`
? "url(/api/unmounted/tank.png)"
: `url(/api/tanks/${props.id}.webp)`,
}}
/>