mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-27 12:39:49 +01:00
feat: cu flags
This commit is contained in:
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
|
<div
|
||||||
className={styles.flag}
|
className={styles.flag}
|
||||||
style={{
|
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}
|
className={styles.icon}
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: clientUnmounted
|
backgroundImage: clientUnmounted
|
||||||
? `url(/api/unmounted/tank.png)`
|
? "url(/api/unmounted/tank.png)"
|
||||||
: `url(/api/tanks/${props.id}.webp)`,
|
: `url(/api/tanks/${props.id}.webp)`,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user