Speeding Diamond: Add preview

This commit is contained in:
Alexander Zinchuk 2025-07-29 14:33:47 +02:00
parent 9b9706bda7
commit 6e69765a51
2 changed files with 3 additions and 0 deletions

BIN
src/assets/diamond.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -10,6 +10,8 @@ import AnimatedIconWithPreview from '../../common/AnimatedIconWithPreview.tsx';
import styles from './SpeedingDiamond.module.scss';
import diamondPreviewUrl from '../../../assets/diamond.png';
interface OwnProps {
onMouseMove: NoneToVoidFunction;
}
@ -65,6 +67,7 @@ function SpeedingDiamond({ onMouseMove }: OwnProps) {
speed={speed}
size={130}
tgsUrl={LOCAL_TGS_URLS.Diamond}
previewUrl={diamondPreviewUrl}
nonInteractive
noLoop={false}
/>