|
@@ -27,20 +27,12 @@ const starVariants: Variants = {
|
27
|
27
|
x: props.delay,
|
28
|
28
|
rotate: props.delay + 365 * 2,
|
29
|
29
|
transition: {
|
30
|
|
- duration: 1.5,
|
|
30
|
+ duration: 0.1,
|
31
|
31
|
repeat: 0,
|
32
|
|
- delay: props.delay,
|
33
|
32
|
},
|
34
|
33
|
}),
|
35
|
|
- "3": (props: VariantProps) => ({
|
|
34
|
+ "3": (_: VariantProps) => ({
|
36
|
35
|
scale: 10,
|
37
|
|
- rotate: props.delay + 365 * 3,
|
38
|
|
- transition: {
|
39
|
|
- duration: 6,
|
40
|
|
- repeat: Infinity,
|
41
|
|
- repeatType: "reverse",
|
42
|
|
- delay: props.delay,
|
43
|
|
- },
|
44
|
36
|
}),
|
45
|
37
|
};
|
46
|
38
|
|