mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: nation
This commit is contained in:
1 parent
9c784228fb
commit
c4a6b4a680
1 file changed
+18
-3
@@ -26,11 +26,11 @@ export function MetaSection() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex justify="center" py="8" px="4">
|
<Flex justify="center" align="center" py="8" px="4">
|
||||||
<Flex align="center" gap="8">
|
<Flex align="center" justify="center" gap="8" wrap="wrap">
|
||||||
<img alt="Economics" src={tankIcon(tank.id)} />
|
<img alt="Economics" src={tankIcon(tank.id)} />
|
||||||
|
|
||||||
<Flex gap="6" wrap="wrap">
|
<Flex gap="6" wrap="wrap" align="start" justify="center">
|
||||||
<Flex direction="column" gap="2">
|
<Flex direction="column" gap="2">
|
||||||
<Heading>Overview</Heading>
|
<Heading>Overview</Heading>
|
||||||
|
|
||||||
@@ -38,6 +38,7 @@ export function MetaSection() {
|
|||||||
<Flex direction="column">
|
<Flex direction="column">
|
||||||
<Text color="gray">Name</Text>
|
<Text color="gray">Name</Text>
|
||||||
{tank.nameFull && <Text color="gray">Full-name</Text>}
|
{tank.nameFull && <Text color="gray">Full-name</Text>}
|
||||||
|
<Text color="gray">Nation</Text>
|
||||||
<Text color="gray">Tier</Text>
|
<Text color="gray">Tier</Text>
|
||||||
<Text color="gray">Class</Text>
|
<Text color="gray">Class</Text>
|
||||||
<Text color="gray">Type</Text>
|
<Text color="gray">Type</Text>
|
||||||
@@ -51,6 +52,20 @@ export function MetaSection() {
|
|||||||
<Flex direction="column" align="end">
|
<Flex direction="column" align="end">
|
||||||
<Text>{tank.name}</Text>
|
<Text>{tank.name}</Text>
|
||||||
{tank.nameFull && <Text>{tank.nameFull}</Text>}
|
{tank.nameFull && <Text>{tank.nameFull}</Text>}
|
||||||
|
<Text>
|
||||||
|
<Flex align="center" gap="1">
|
||||||
|
<img
|
||||||
|
style={{ width: '1em', height: '1em' }}
|
||||||
|
alt={tank.nation}
|
||||||
|
src={asset(`flags/circle/${tank.nation}.webp`)}
|
||||||
|
/>
|
||||||
|
{
|
||||||
|
strings.common.nations[
|
||||||
|
tank.nation as keyof typeof strings.common.nations
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</Flex>
|
||||||
|
</Text>
|
||||||
<Text>{tank.tier}</Text>
|
<Text>{tank.tier}</Text>
|
||||||
<Text>
|
<Text>
|
||||||
<Flex align="center" gap="1">
|
<Flex align="center" gap="1">
|
||||||
|
|||||||
Reference in new issue
Block a user