mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
names and icons
This commit is contained in:
1 parent
18a6f30a4b
commit
595db8709b
13 files changed
+46
-77
No files matched your search
@@ -45,9 +45,9 @@
|
||||
.align {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
gap: var(--space-3);
|
||||
|
||||
svg {
|
||||
img {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ function Group({ group, characteristics }: GroupProps) {
|
||||
strings.tanks.characteristics.titles as Record<string, string>
|
||||
)[group.group]
|
||||
}
|
||||
{/*<GearIcon />*/}
|
||||
<img src={`/media/groups/${group.group}.png`} />
|
||||
</div>
|
||||
</Heading>
|
||||
</div>
|
||||
@@ -96,7 +96,13 @@ function Item({ config, value }: ItemProps) {
|
||||
return (
|
||||
<span className={styles.item}>
|
||||
<div className={styles.value}>
|
||||
<Text lowContrast>{config.name}</Text>
|
||||
<Text lowContrast>
|
||||
{
|
||||
(strings.tanks.characteristics.items as Record<string, string>)[
|
||||
config.name
|
||||
]
|
||||
}
|
||||
</Text>
|
||||
<Text>{renderCharacteristic(value, config)}</Text>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user