diff --git a/artifacts/ehsan-poc/src/components/OpportunityCard.tsx b/artifacts/ehsan-poc/src/components/OpportunityCard.tsx
index e8f4569..8a3c098 100644
--- a/artifacts/ehsan-poc/src/components/OpportunityCard.tsx
+++ b/artifacts/ehsan-poc/src/components/OpportunityCard.tsx
@@ -39,7 +39,7 @@ export function OpportunityCard({ request }: OpportunityCardProps) {
};
return (
-
+
{/* Photo + progress bar */}
![]()
{children}
;
+ }
+
+ return (
+
+ {children}
+
+ );
+}
diff --git a/artifacts/ehsan-poc/src/pages/home.tsx b/artifacts/ehsan-poc/src/pages/home.tsx
index 1f74706..fe6bfdd 100644
--- a/artifacts/ehsan-poc/src/pages/home.tsx
+++ b/artifacts/ehsan-poc/src/pages/home.tsx
@@ -6,6 +6,7 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Skeleton } from "@/components/ui/skeleton";
import { OpportunityCard } from "../components/OpportunityCard";
+import { Reveal } from "../components/Reveal";
import { Riyal } from "@/components/Riyal";
import { Link } from "wouter";
import { Search, Pause, Play } from "lucide-react";
@@ -141,7 +142,7 @@ export default function Home() {
@@ -157,30 +158,34 @@ export default function Home() {
) : (
-
-
-
- {t.home.totalCollected}
-
-
-
-
- {stats?.totalCollected?.toLocaleString() || 0}
-
-
-
-
-
-
- {t.home.totalClosed}
-
-
-
-
- {stats?.totalClosed || 0}
-
-
-
+
+
+
+
+ {t.home.totalCollected}
+
+
+
+
+ {stats?.totalCollected?.toLocaleString() || 0}
+
+
+
+
+
+
+
+
+ {t.home.totalClosed}
+
+
+
+
+ {stats?.totalClosed || 0}
+
+
+
+
)}
@@ -221,8 +226,10 @@ export default function Home() {
) : (
- {filtered.slice(0, 6).map((request) => (
-
+ {filtered.slice(0, 6).map((request, i) => (
+
+
+
))}
)}
@@ -233,16 +240,18 @@ export default function Home() {
{t.home.workflowTitle}
{Array.from({ length: 10 }).map((_, i) => (
-
-
-
- {i + 1}
-
-
- {t.workflow[`step${i + 1}` as keyof typeof t.workflow]}
-
-
-
+
+
+
+
+ {i + 1}
+
+
+ {t.workflow[`step${i + 1}` as keyof typeof t.workflow]}
+
+
+
+
))}
diff --git a/artifacts/ehsan-poc/src/pages/opportunities.tsx b/artifacts/ehsan-poc/src/pages/opportunities.tsx
index c730589..0ff051f 100644
--- a/artifacts/ehsan-poc/src/pages/opportunities.tsx
+++ b/artifacts/ehsan-poc/src/pages/opportunities.tsx
@@ -3,6 +3,7 @@ import { useLanguage } from "../contexts/LanguageContext";
import { useListPublishedRequests } from "@workspace/api-client-react";
import { Skeleton } from "@/components/ui/skeleton";
import { OpportunityCard } from "../components/OpportunityCard";
+import { Reveal } from "../components/Reveal";
type NeedTypeKey =
| "electricity" | "water" | "food" | "health"
@@ -70,8 +71,10 @@ export default function Opportunities() {
) : (
- {filtered.map((request) => (
-
+ {filtered.map((request, i) => (
+
+
+
))}
)}