fix: improve link formatting for better consistency in DashboardPage
This commit is contained in:
@@ -156,11 +156,14 @@ 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 text-sm ml-auto hover:underline">
|
<Link
|
||||||
Lihat daftar
|
to="/diagnoses"
|
||||||
</Link>
|
className="text-emerald-600 text-sm ml-auto hover:underline"
|
||||||
</CardContent>
|
>
|
||||||
</Card>
|
Lihat daftar
|
||||||
|
</Link>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader className="pb-2">
|
<CardHeader className="pb-2">
|
||||||
@@ -172,11 +175,14 @@ 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 text-sm ml-auto hover:underline">
|
<Link
|
||||||
Lihat daftar
|
to="/diagnoses"
|
||||||
</Link>
|
className="text-emerald-600 text-sm ml-auto hover:underline"
|
||||||
</CardContent>
|
>
|
||||||
</Card>
|
Lihat daftar
|
||||||
|
</Link>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
|
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader className="pb-2">
|
<CardHeader className="pb-2">
|
||||||
@@ -188,7 +194,10 @@ 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 text-sm 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 +213,10 @@ 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 text-sm 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>
|
||||||
@@ -265,7 +277,7 @@ export function DashboardPage() {
|
|||||||
</div>
|
</div>
|
||||||
<Link
|
<Link
|
||||||
to="/library"
|
to="/library"
|
||||||
className="text-emerald-600 font-semibold inline-flex items-center gap-1"
|
className="text-emerald-600 font-semibold inline-flex items-center gap-1 hover:underline"
|
||||||
>
|
>
|
||||||
Lihat Pustaka <ChevronRight className="w-4 h-4" />
|
Lihat Pustaka <ChevronRight className="w-4 h-4" />
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user