fix: adjust link text size and styling in DashboardPage for better readability

This commit is contained in:
seriouselly
2026-06-02 09:52:41 +07:00
parent 383cd8ee25
commit 2547c954a4
+6 -6
View File
@@ -156,7 +156,7 @@ export function DashboardPage() {
<div className="text-3xl font-bold"> <div className="text-3xl font-bold">
{summary.diseaseCount} {summary.diseaseCount}
</div> </div>
<Link to="/diagnoses" className="text-emerald-600 ml-auto hover:underline"> <Link to="/diagnoses" className="text-emerald-600 text-sm ml-auto hover:underline">
Lihat daftar Lihat daftar
</Link> </Link>
</CardContent> </CardContent>
@@ -172,7 +172,7 @@ export function DashboardPage() {
<div className="text-3xl font-bold"> <div className="text-3xl font-bold">
{summary.imageClassificationCount} {summary.imageClassificationCount}
</div> </div>
<Link to="/diagnoses" className="text-emerald-600 ml-auto hover:underline"> <Link to="/diagnoses" className="text-emerald-600 text-sm ml-auto hover:underline">
Lihat daftar Lihat daftar
</Link> </Link>
</CardContent> </CardContent>
@@ -188,7 +188,7 @@ export function DashboardPage() {
<div className="text-3xl font-bold text-amber-600"> <div className="text-3xl font-bold text-amber-600">
{summary.needsReviewCount} {summary.needsReviewCount}
</div> </div>
<Link to="/diagnoses?status=needs_review" className="text-amber-600 ml-auto hover:underline"> <Link to="/diagnoses?status=needs_review" className="text-amber-600 text-sm ml-auto hover:underline">
Lihat daftar Lihat daftar
</Link> </Link>
</CardContent> </CardContent>
@@ -204,7 +204,7 @@ export function DashboardPage() {
<div className="text-3xl font-bold text-red-600"> <div className="text-3xl font-bold text-red-600">
{summary.riskDistribution.high} {summary.riskDistribution.high}
</div> </div>
<Link to="/diagnoses?risk=high" className="text-red-600 ml-auto hover:underline"> <Link to="/diagnoses?risk=high" className="text-red-600 text-sm ml-auto hover:underline">
Lihat daftar Lihat daftar
</Link> </Link>
</CardContent> </CardContent>
@@ -284,10 +284,10 @@ export function DashboardPage() {
style={{ backgroundColor: d.color }} style={{ backgroundColor: d.color }}
/> />
<div> <div>
<div className="text-sm font-bold text-[#214B11]"> <div className="font-bold text-[#214B11]">
{d.name} {d.name}
</div> </div>
<div className="text-xs text-slate-400 italic mt-1"> <div className="text-sm text-slate-400 italic mt-1">
{d.sci} {d.sci}
</div> </div>
</div> </div>