Skip to content

Commit 3738a7f

Browse files
committed
chore: reflect a few UI feddbacks
1 parent b02b4b2 commit 3738a7f

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

components/report-details/funding-progress.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ const FundingProgress: React.FC<FundingProgressProps> = ({
2323
<div className="flex justify-between">
2424
<div className="text-sm text-vd-blue-600 flex-1">
2525
<span className="text-vd-blue-900 font-semibold text-lg">
26-
${totalAmount}
26+
${dollarAmountNeeded}
2727
</span>{" "}
28-
GOAL
28+
NEEDED
2929
</div>
3030
{!isFullyFunded && (
3131
<div className="text-sm text-vd-blue-600">
3232
<span className="text-vd-blue-900 font-semibold text-lg">
33-
${dollarAmountNeeded}
33+
${totalAmount}
3434
</span>{" "}
35-
NEEDED
35+
GOAL
3636
</div>
3737
)}
3838
</div>

components/report-details/report-sidebar.tsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ const ImpactDetails = ({ report }: { report: Report }) => {
1212
},
1313
{
1414
title: "Impact Timeframe",
15-
value: report.impactTimeframe
16-
? report.impactTimeframe
17-
: "N/A",
15+
value: report.impactTimeframe ? report.impactTimeframe : "N/A",
1816
},
1917
{
2018
title: "Work Timeframe",
21-
value: report.workTimeframe
22-
? report.workTimeframe
23-
: "N/A",
19+
value: report.workTimeframe ? report.workTimeframe : "N/A",
2420
},
2521
{
2622
title: "Contributors",
@@ -94,7 +90,7 @@ const EvaluationDetails = ({ report }: { report: Partial<Report> }) => {
9490
value: report.verifiedBy || "Not Verified",
9591
},
9692
{
97-
title: "Byline",
93+
title: "Evaluated By",
9894
value: report.byline || "Anonymous",
9995
},
10096
];

components/reports/report-card.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const ReportCard: React.FC<ReportCardProps> = ({
8686
<p className="text-xs">
8787
{fundedSoFar === totalCost
8888
? "Funded!"
89-
: `${totalCost - fundedSoFar} needed`}
89+
: `$${totalCost - fundedSoFar} needed`}
9090
</p>
9191
</CardFooter>
9292
</Card>

0 commit comments

Comments
 (0)