Browse Source

Le 24 est pas mal là

feat/year-wrapped
Elias Sebbar 1 day ago
parent
commit
f92fa56aac
1 changed files with 2 additions and 10 deletions
  1. 2
    10
      vite-wrapped/src/steps/welcome.tsx

+ 2
- 10
vite-wrapped/src/steps/welcome.tsx View File

@@ -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
 

Loading…
Cancel
Save