antagonist controls

This commit is contained in:
tresabhi committed 2026-11-10 14:54:22 -06:00
1 parent f74b66dd5f
commit f071a77fc0
18 files changed
+316 -259

No files matched your search

@@ -41,7 +41,6 @@ export const TankCard = (props: MaybeSkeletonComponentProps<TankCardProps>) => {
: props.tank.type === TankType.TANK_TYPE_PREMIUM
? "amber"
: "gray";
const lowContrast = props.tank.type !== TankType.TANK_TYPE_RESEARCHABLE;
const content = (
<div
@@ -68,7 +67,7 @@ export const TankCard = (props: MaybeSkeletonComponentProps<TankCardProps>) => {
justifyContent: "flex-end",
backgroundImage: `url(${alias(
"api",
`/flags/scratched/${props.tank.nation}.webp`
`/flags/scratched/${props.tank.nation}.webp`,
)})`,
}}
>
@@ -78,7 +77,7 @@ export const TankCard = (props: MaybeSkeletonComponentProps<TankCardProps>) => {
/>
</div>
<Text className={styles.name} color={color} lowContrast={lowContrast}>
<Text className={styles.name} color={color}>
<ClassIcon class={props.tank.class} className={styles.icon} />
<span className={styles.text}>{name}</span>
</Text>