mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: premium purchase price
This commit is contained in:
1 parent
8ebd604cde
commit
1a1b8c3a65
1 file changed
+13
-1
@@ -13,7 +13,7 @@ export function MetaSection() {
|
||||
const ClassIcon = classIcons[tank.class];
|
||||
|
||||
return (
|
||||
<Flex justify="center" align="center" py="8" px="4">
|
||||
<Flex justify="center" align="center" px="4">
|
||||
<Flex
|
||||
align="center"
|
||||
justify="center"
|
||||
@@ -80,6 +80,18 @@ export function MetaSection() {
|
||||
Economics
|
||||
</Heading>
|
||||
|
||||
{tank.treeType === 'premium' && (
|
||||
<Listing label="Purchase price">
|
||||
<Flex align="center" gap="1">
|
||||
{tank.price.value / 400}
|
||||
<img
|
||||
style={{ width: '1em', height: '1em' }}
|
||||
alt="gold"
|
||||
src={asset('icons/currencies/gold.webp')}
|
||||
/>
|
||||
</Flex>
|
||||
</Listing>
|
||||
)}
|
||||
<Listing
|
||||
label={`${tank.treeType === 'researchable' ? 'Purchase' : 'Restoration'} price`}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user