From 7bab71ce040634ab185d63fe25144662e50762e1 Mon Sep 17 00:00:00 2001 From: Replit Agent Date: Sat, 6 Jun 2026 08:23:29 +0000 Subject: [PATCH] Improve spacing and color of donation progress indicator Adjusted the stepper container width to reduce spacing between steps and updated the active step color to a darker green (#176B43) in `artifacts/ehsan-poc/src/pages/donate.tsx`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1fa9329f-0cec-4a2f-80e8-e26dbae3142e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: d1c7e1cc-09e6-46f0-98ae-caec9c38ab3b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/4d696b13-86f2-4c9d-be0d-95b293430047/1fa9329f-0cec-4a2f-80e8-e26dbae3142e/B0UcG3G Replit-Helium-Checkpoint-Created: true --- artifacts/ehsan-poc/src/pages/donate.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/artifacts/ehsan-poc/src/pages/donate.tsx b/artifacts/ehsan-poc/src/pages/donate.tsx index f63d550..b35a9fe 100644 --- a/artifacts/ehsan-poc/src/pages/donate.tsx +++ b/artifacts/ehsan-poc/src/pages/donate.tsx @@ -150,28 +150,28 @@ export default function Donate() { }; const StepIndicator = () => ( -
+
{/* Step 1 - Details */}
= 1 ? "bg-primary text-primary-foreground border-primary" : "bg-background text-muted-foreground border-border" + step >= 1 ? "bg-[#176B43] text-white border-[#176B43]" : "bg-background text-muted-foreground border-border" }`}> {step > 1 ? : "1"}
- = 1 ? "text-primary" : "text-muted-foreground"}`}> + = 1 ? "text-[#176B43]" : "text-muted-foreground"}`}> {t.donate.stepDetails}
{/* Connector - continuous line aligned to circle centers */} -
= 2 ? "bg-primary" : "bg-border"}`} /> +
= 2 ? "bg-[#176B43]" : "bg-border"}`} /> {/* Step 2 - Payment */}
= 2 ? "bg-primary text-primary-foreground border-primary" : "bg-background text-muted-foreground border-border" + step >= 2 ? "bg-[#176B43] text-white border-[#176B43]" : "bg-background text-muted-foreground border-border" }`}> 2
- = 2 ? "text-primary" : "text-muted-foreground"}`}> + = 2 ? "text-[#176B43]" : "text-muted-foreground"}`}> {t.donate.stepPayment}