Skip to content

Commit a907440

Browse files
committed
feat(ui): format skill count with number abbreviation on home page
Display "20.1K+" instead of "20074+" for better readability. Updated to use formatNumber() helper for both skill count and install count stats.
1 parent d959ae7 commit a907440

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ scripts/scraped-skills.json
3131
scripts/.fetch-progress.json
3232
scripts/.fetch-all-progress.json
3333
scripts/.seed-progress.json
34+
scripts/.content-fetch-progress.json
3435
scripts/seed-data.json
3536
scripts/seed-batches/
3637

apps/web/app/routes/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function Home({ loaderData }: Route.ComponentProps) {
115115
<div className="mt-12 grid grid-cols-1 gap-4 sm:grid-cols-3 sm:gap-6">
116116
<div className="rounded-lg border border-sx-border bg-sx-bg-elevated px-6 py-4 text-center">
117117
<div className="font-mono text-3xl font-bold text-sx-accent">
118-
{stats.skillCount}+
118+
{formatNumber(stats.skillCount)}+
119119
</div>
120120
<div className="mt-1 text-sm text-sx-fg-muted">Total Skills</div>
121121
</div>

0 commit comments

Comments
 (0)