mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: change blitzkit icons to big icons
This commit is contained in:
1 parent
b8c8528e1c
commit
d60551d30a
2 files changed
+18
-18
No files matched your search
+7
-7
@@ -1,8 +1,8 @@
|
||||
import { asset } from '@blitzkit/core';
|
||||
import { Flex, type FlexProps, Progress } from '@radix-ui/themes';
|
||||
import { useProgress } from '@react-three/drei';
|
||||
import { asset } from "@blitzkit/core";
|
||||
import { Flex, type FlexProps, Progress } from "@radix-ui/themes";
|
||||
import { useProgress } from "@react-three/drei";
|
||||
|
||||
type TankSandboxLoaderProps = Omit<FlexProps, 'id'> & {
|
||||
type TankSandboxLoaderProps = Omit<FlexProps, "id"> & {
|
||||
id: number;
|
||||
};
|
||||
|
||||
@@ -12,13 +12,13 @@ export function TankSandboxLoader({ id, ...props }: TankSandboxLoaderProps) {
|
||||
return (
|
||||
<Flex width="100%" height="100%" align="center" justify="center" {...props}>
|
||||
<img
|
||||
src={asset(`icons/tanks/blitzkit/${id}.webp`)}
|
||||
style={{ height: '75%', filter: 'blur(1rem)' }}
|
||||
src={asset(`icons/tanks/big/${id}.webp`)}
|
||||
style={{ height: "75%", filter: "blur(1rem)" }}
|
||||
/>
|
||||
<Progress
|
||||
size="3"
|
||||
value={data.progress}
|
||||
style={{ position: 'absolute', width: '16rem', maxWidth: '50vw' }}
|
||||
style={{ position: "absolute", width: "16rem", maxWidth: "50vw" }}
|
||||
/>
|
||||
</Flex>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user