feat: more data

This commit is contained in:
TrèsAbhi committed 2024-06-30 19:34:55 -05:00
1 parent c6c78f2661
commit 6c6cf6b76d
3 files changed
+130 -89

No files matched your search

+12 -7
View File
@@ -1,4 +1,4 @@
import { Flex, Table } from '@radix-ui/themes';
import { Table } from '@radix-ui/themes';
import { TankDefinition } from '../core/blitzkit/tankDefinitions';
import { tankIcon } from '../core/blitzkit/tankIcon';
import { ExperimentIcon } from './ExperimentIcon';
@@ -33,14 +33,19 @@ export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) {
href={`/tools/tankopedia/${tank.id}`}
style={{
paddingLeft: 'var(--space-2)',
display: 'flex',
alignItems: 'center',
gap: 'var(--space-1)',
width: 128,
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
}}
>
<Flex align="center" gap="1" position="relative" pl="2">
{tank.testing && (
<ExperimentIcon style={{ width: '1em', height: '1em' }} />
)}
{tank.name}
</Flex>
{tank.testing && (
<ExperimentIcon style={{ width: '1em', height: '1em' }} />
)}
{tank.name}
</Link>
</Table.RowHeaderCell>
);