mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 19:49:50 +01:00
feat: better loader
This commit is contained in:
1 parent
2f31aadb29
commit
c814230dcb
1 file changed
+2
-2
+2
-2
@@ -13,12 +13,12 @@ export function TankSandboxLoader({ id, ...props }: TankSandboxLoaderProps) {
|
|||||||
<Flex width="100%" height="100%" align="center" justify="center" {...props}>
|
<Flex width="100%" height="100%" align="center" justify="center" {...props}>
|
||||||
<img
|
<img
|
||||||
src={asset(`icons/tanks/blitzkit/${id}.webp`)}
|
src={asset(`icons/tanks/blitzkit/${id}.webp`)}
|
||||||
style={{ height: '60%', filter: 'grayscale(1)' }}
|
style={{ height: '100%', filter: 'blur(1rem)' }}
|
||||||
/>
|
/>
|
||||||
<Progress
|
<Progress
|
||||||
size="3"
|
size="3"
|
||||||
value={data.progress}
|
value={data.progress}
|
||||||
style={{ position: 'absolute', width: 128 }}
|
style={{ position: 'absolute', width: '16rem', maxWidth: '50vw' }}
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user