Skip to content

Commit e9b99de

Browse files
ssandinoactions-user
authored andcommitted
Prettified Code!
1 parent 2aa4c25 commit e9b99de

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

website/src/app/[lang]/[region]/(website)/(home)/(sections)/active-fundraisers.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
1515
return (
1616
<div className="mx-auto mb-8 mt-12 flex flex-col items-center justify-center space-y-4">
1717
{/* 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">
2220
{/* 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+
>
2529
<circle cx="6" cy="6" r="6" fill="currentColor">
2630
<animate
2731
attributeName="opacity"
@@ -69,26 +73,24 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
6973
<Link
7074
key={index}
7175
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' : ''}`}
7477
>
7578
{/* 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">
7880
<Image alt="Avatar" src={ismatuImage} width={40} height={40} className="object-cover" />
7981
</div>
8082

8183
{/* Text Content */}
8284
<div className="flex flex-col pl-2">
8385
{/* 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">
8587
<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">
8789
Ismatu Banjura
8890
</Typography>
8991
</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">
9294
Rebuilding Lives
9395
</Typography>
9496
</div>
@@ -113,8 +115,7 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
113115
</div>
114116

115117
{/* 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">
118119
<ChevronRight className="text-primary" />
119120
</div>
120121
</Link>
@@ -128,6 +129,5 @@ export async function ActiveFundraisers({ lang }: DefaultParams) {
128129
</Link>
129130
</div>
130131
</div>
131-
)
132+
);
132133
}
133-

0 commit comments

Comments
 (0)