feat: better loading

This commit is contained in:
TrèsAbhi committed 2024-07-10 13:31:21 -05:00
1 parent c27ebdbcb3
commit 6f387e28f9
5 files changed
+26 -13

No files matched your search

@@ -0,0 +1,11 @@
import { Flex, Spinner } from '@radix-ui/themes';
import { tankIcon } from '../../../../../../core/blitzkit/tankIcon';
export function TankSandboxLoader({ id }: { id: number }) {
return (
<Flex width="100%" height="100%" align="center" justify="center">
<img src={tankIcon(id)} style={{ height: '75%', filter: 'blur(0rem)' }} />
<Spinner size="3" style={{ position: 'absolute' }} />
</Flex>
);
}