diff --git a/packages/website/src/components/Tankopedia/MetaSection/index.tsx b/packages/website/src/components/Tankopedia/MetaSection/index.tsx index ef108487f..56b53b7c6 100644 --- a/packages/website/src/components/Tankopedia/MetaSection/index.tsx +++ b/packages/website/src/components/Tankopedia/MetaSection/index.tsx @@ -25,154 +25,160 @@ export function MetaSection() { const { locale, strings } = useLocale(); return ( - + - - - - - - - {protagonist.nation} - { - strings.common.nations[ - protagonist.nation as keyof typeof strings.common.nations - ] + + + + + + + {protagonist.nation} + { + strings.common.nations[ + protagonist.nation as keyof typeof strings.common.nations + ] + } + + + + + + {strings.common.tank_class_short[protagonist.class]} + + + + {TIER_ROMAN_NUMERALS[protagonist.tier]} + + - - - - - {strings.common.tank_class_short[protagonist.class]} - - - - {TIER_ROMAN_NUMERALS[protagonist.tier]} - - - {strings.common.tree_type[protagonist.type]} - - + > + {strings.common.tree_type[protagonist.type]} + + - - {developerMode && ( - - {protagonist.id} - - )} - {protagonist.type === TankType.PREMIUM && ( + + {developerMode && ( + + {protagonist.id} + + )} + {protagonist.type === TankType.PREMIUM && ( + + + {protagonist.price.value / 400} + gold + + + )} - {protagonist.price.value / 400} + {protagonist.price.value.toLocaleString(locale)} gold - )} - - - {protagonist.price.value.toLocaleString(locale)} - {TankPriceType[protagonist.price.type]} - - - - - {(protagonist.price.value / 2).toLocaleString(locale)} - {TankPriceType[protagonist.price.type]} - - - {protagonist.research_cost && ( - + - {( - protagonist.research_cost.research_cost_type! - .value as number - ).toLocaleString(locale)} + {(protagonist.price.value / 2).toLocaleString(locale)} xp - )} + {protagonist.research_cost && ( + + + {( + protagonist.research_cost.research_cost_type! + .value as number + ).toLocaleString(locale)} + xp + + + )} + - + - + ); }