Skip to content

Commit 6a4d8bc

Browse files
authored
Amélioration des cards (#11)
* Fix file paths * Revert "Fix file paths" This reverts commit 67da9fb. * Change header image * Update card element position
1 parent eba3335 commit 6a4d8bc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/join/page.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,16 @@ export default function JoinPage() {
211211
].map((item) => (
212212
<Card
213213
key={item.step}
214-
className="bg-card rounded-xl border shadow-sm items-center"
214+
className="bg-card rounded-xl border shadow-sm"
215215
>
216-
<CardContent className="text-left">
217-
<div className="w-10 h-10 bg-primary text-primary-foreground rounded-full flex items-center justify-center font-bold text-lg mb-4 mx-auto">
216+
<CardContent className="flex flex-col items-center text-center gap-4">
217+
<div className="w-12 h-12 flex-shrink-0 bg-primary text-primary-foreground rounded-full flex items-center justify-center font-bold text-lg">
218218
{item.step}
219219
</div>
220-
<h4 className="font-semibold mb-2">{item.title}</h4>
221-
<p className="text-sm text-muted-foreground">{item.desc}</p>
220+
<div className="flex flex-col gap-2">
221+
<h4 className="font-semibold text-base leading-tight">{item.title}</h4>
222+
<p className="text-sm text-muted-foreground leading-relaxed">{item.desc}</p>
223+
</div>
222224
</CardContent>
223225
</Card>
224226
))}

0 commit comments

Comments
 (0)