@@ -15,13 +15,17 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
15
15
return (
16
16
< div className = "mx-auto mb-8 mt-12 flex flex-col items-center justify-center space-y-4" >
17
17
{ /* Badge Temporary */ }
18
- < div className = "w-full flex justify-center" >
19
- < div
20
- className = "border-text-popover-foreground-muted text-primary relative flex items-center rounded-full border-2 px-6 py-2 transition-all duration-300"
21
- >
18
+ < div className = "flex w-full justify-center" >
19
+ < div className = "border-text-popover-foreground-muted text-primary relative flex items-center rounded-full border-2 px-6 py-2 transition-all duration-300" >
22
20
{ /* Loading Dots Animation */ }
23
- < svg width = "48" height = "12" viewBox = "0 0 48 12" fill = "none" xmlns = "http://www.w3.org/2000/svg"
24
- className = "pr-2" >
21
+ < svg
22
+ width = "48"
23
+ height = "12"
24
+ viewBox = "0 0 48 12"
25
+ fill = "none"
26
+ xmlns = "http://www.w3.org/2000/svg"
27
+ className = "pr-2"
28
+ >
25
29
< circle cx = "6" cy = "6" r = "6" fill = "currentColor" >
26
30
< animate
27
31
attributeName = "opacity"
@@ -69,26 +73,24 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
69
73
< Link
70
74
key = { index }
71
75
href = { `https://socialincome.org` }
72
- className = { `border-text-popover-foreground-muted hover:bg-primary group relative flex w-[260px] items-center rounded-full border-2 px-6 py-2 transition-all duration-300 hover:w-[280px] hover:text-white hover:border-primary
73
- ${ index === 1 ? 'hidden md:flex' : index === 2 ? 'hidden lg:flex' : '' } ` }
76
+ className = { `border-text-popover-foreground-muted hover:bg-primary hover:border-primary group relative flex w-[260px] items-center rounded-full border-2 px-6 py-2 transition-all duration-300 hover:w-[280px] hover:text-white ${ index === 1 ? 'hidden md:flex' : index === 2 ? 'hidden lg:flex' : '' } ` }
74
77
>
75
78
{ /* Avatar */ }
76
- < div
77
- className = "-ml-2 mr-2 h-10 w-10 overflow-hidden rounded-full transition-transform duration-300 group-hover:scale-125" >
79
+ < div className = "-ml-2 mr-2 h-10 w-10 overflow-hidden rounded-full transition-transform duration-300 group-hover:scale-125" >
78
80
< Image alt = "Avatar" src = { ismatuImage } width = { 40 } height = { 40 } className = "object-cover" />
79
81
</ div >
80
82
81
83
{ /* Text Content */ }
82
84
< div className = "flex flex-col pl-2" >
83
85
{ /* Default Text */ }
84
- < div className = "w-[150px] text-popover-foreground-muted flex items-center space-x-1 group-hover:hidden" >
86
+ < div className = "text-popover-foreground-muted flex w-[150px] items-center space-x-1 group-hover:hidden" >
85
87
< Typography size = "lg" > { translator . t ( 'badges.by' ) } </ Typography >
86
- < Typography size = "lg" className = "truncate overflow-hidden whitespace-nowrap" >
88
+ < Typography size = "lg" className = "overflow-hidden truncate whitespace-nowrap" >
87
89
Ismatu Banjura
88
90
</ Typography >
89
91
</ div >
90
- < div className = "w-[150px] text-primary group-hover:hidden" >
91
- < Typography size = "lg" weight = "medium" className = "truncate overflow-hidden whitespace-nowrap" >
92
+ < div className = "text-primary w-[150px] group-hover:hidden" >
93
+ < Typography size = "lg" weight = "medium" className = "overflow-hidden truncate whitespace-nowrap" >
92
94
Rebuilding Lives
93
95
</ Typography >
94
96
</ div >
@@ -113,8 +115,7 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
113
115
</ div >
114
116
115
117
{ /* Chevron Circle */ }
116
- < div
117
- className = "absolute right-3 hidden h-8 w-8 items-center justify-center rounded-full bg-white group-hover:flex" >
118
+ < div className = "absolute right-3 hidden h-8 w-8 items-center justify-center rounded-full bg-white group-hover:flex" >
118
119
< ChevronRight className = "text-primary" />
119
120
</ div >
120
121
</ Link >
@@ -128,6 +129,5 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
128
129
</ Link >
129
130
</ div >
130
131
</ div >
131
- )
132
+ ) ;
132
133
}
133
-
0 commit comments