@@ -4,46 +4,20 @@ import { cva } from 'class-variance-authority'
44
55export const animationVariants = cva ( '' , {
66 variants : {
7- color_small : {
8- gray_300 : 'bg-gray-300' ,
9- gray_400 : 'bg-slate-400' ,
10- rose_200 : 'bg-rose-200' ,
11- rose_250 : 'bg-rose-250' ,
12- green_200 : 'bg-green-200' ,
13- green_300 : 'bg-green-300' ,
14- } ,
157 color_big : {
168 gray_300 : 'bg-gray-300' ,
17- gray_400 : 'bg-slate- 400' ,
9+ gray_400 : 'bg-gradient-to-tl from-gray- 400 via-gray-900 to-black ' ,
1810 rose_200 : 'bg-rose-200' ,
19- rose_250 : 'bg-rose-250 ' ,
11+ rose_250 : 'bg-gradient-to-tl from-gray-300 via-pink-400 to-pink-600 ' ,
2012 green_200 : 'bg-green-200' ,
21- green_300 : 'bg-green- 300' ,
13+ green_300 : 'bg-gradient-to-tl from-gray- 300 via-green-500 to-green-700 ' ,
2214 } ,
2315 } ,
2416} )
2517
26- const AnimationBacklight = ( {
27- color_small,
28- color_big,
29- } : AnimationBacklightProps ) => {
18+ const AnimationBacklight = ( { color_big } : AnimationBacklightProps ) => {
3019 return (
3120 < >
32- < div
33- className = {
34- 'absolute left-0 top-0 -z-10 h-24 w-64 animate-spin animate-duration-[120s]'
35- }
36- >
37- < div
38- className = { cn (
39- animationVariants ( {
40- color_small,
41- className :
42- 'absolute left-0 top-0 h-4 w-4 animate-bounce rounded-full blur-sm animate-duration-[180s]' ,
43- } )
44- ) }
45- > </ div >
46- </ div >
4721 < div
4822 className = {
4923 'absolute bottom-0 left-0 -z-10 h-24 w-44 animate-spin animate-duration-[120s]'
@@ -54,7 +28,7 @@ const AnimationBacklight = ({
5428 animationVariants ( {
5529 color_big,
5630 className :
57- 'absolute left-0 top-0 h-8 w-8 animate-bounce rounded-full blur-sm animate-duration-[180s]' ,
31+ 'absolute left-0 top-0 h-6 w-6 animate-bounce rounded-full animate-duration-[180s]' ,
5832 } )
5933 ) }
6034 > </ div >
0 commit comments