feat: image alts

This commit is contained in:
TrèsAbhi committed 2024-05-04 16:28:12 -05:00
1 parent ab510361b5
commit 97cd218796
25 files changed
+58 -4

No files matched your search

@@ -57,6 +57,7 @@ export function Options() {
}
>
<img
alt={type}
src={TREE_TYPE_IMAGES[type]}
style={{ width: '1em', height: '1em' }}
/>
@@ -124,6 +125,7 @@ export function Options() {
}
>
<img
alt={type}
src={TREE_TYPE_ICONS.researchable[type]}
style={{ width: '1em', height: '1em' }}
/>
@@ -910,6 +910,7 @@ export function TankSearch({
}}
>
<img
alt={tank.name}
className={styles.flag}
src={asset(`flags/scratched/${tank.nation}.webp`)}
style={{
@@ -938,6 +939,7 @@ export function TankSearch({
className={styles.listingImage}
>
<img
alt={tank.name}
src={tankIcon(tank.id)}
style={{
objectFit: 'contain',
@@ -960,6 +962,7 @@ export function TankSearch({
>
<Flex align="center" justify="center" gap="1">
<img
alt={tank.name}
src={
(tank.treeType === 'collector'
? TANK_ICONS_COLLECTOR