Skip to content

Commit d9f354a

Browse files
authored
refactor: update stats area component with new metrics and layout (#105)
1 parent 26d9a60 commit d9f354a

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "request-scan",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

src/components/stats-area.tsx

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/** @format */
22

3-
import { Activity, ArrowRightLeft, Building, DollarSign } from "lucide-react";
3+
import { Activity, Building, DollarSign } from "lucide-react";
44
import { Card, CardContent, CardHeader, CardTitle } from "./ui/card";
55

66
export function StatsArea() {
77
return (
8-
<div className="grid max-w-full gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4 grid-cols-1 px-10 md:px-0">
8+
<div className="grid max-w-full gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-3 grid-cols-1 px-10 md:px-0">
99
<Card>
1010
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
1111
<CardTitle className="text-sm font-medium">
@@ -14,16 +14,7 @@ export function StatsArea() {
1414
<DollarSign className="h-4 w-4 text-muted-foreground" />
1515
</CardHeader>
1616
<CardContent>
17-
<div className="text-2xl font-bold">$800+ Million</div>
18-
</CardContent>
19-
</Card>
20-
<Card>
21-
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
22-
<CardTitle className="text-sm font-medium">Requests</CardTitle>
23-
<ArrowRightLeft className="h-4 w-4 text-muted-foreground" />
24-
</CardHeader>
25-
<CardContent>
26-
<div className="text-2xl font-bold">13,000</div>
17+
<div className="text-2xl font-bold">$1+ Billion</div>
2718
</CardContent>
2819
</Card>
2920
<Card>
@@ -34,16 +25,18 @@ export function StatsArea() {
3425
<Building className="h-4 w-4 text-muted-foreground" />
3526
</CardHeader>
3627
<CardContent>
37-
<div className="text-2xl font-bold">2,000+ Companies</div>
28+
<div className="text-2xl font-bold">3,000+ Companies</div>
3829
</CardContent>
3930
</Card>
4031
<Card>
4132
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
42-
<CardTitle className="text-sm font-medium">Payments</CardTitle>
33+
<CardTitle className="text-sm font-medium">
34+
Monthly Payments
35+
</CardTitle>
4336
<Activity className="h-4 w-4 text-muted-foreground" />
4437
</CardHeader>
4538
<CardContent>
46-
<div className="text-2xl font-bold">15,000</div>
39+
<div className="text-2xl font-bold">30,000+</div>
4740
</CardContent>
4841
</Card>
4942
</div>

0 commit comments

Comments
 (0)