ui/ replace emojis with lucide react icons

This commit is contained in:
Leon van Zyl
2025-08-27 08:13:09 +02:00
parent eb71ad75b6
commit a0de269975
8 changed files with 70 additions and 24 deletions

View File

@@ -2,6 +2,7 @@
import { useEffect, useState } from "react";
import { Button } from "@/components/ui/button";
import { CheckCircle2, XCircle } from "lucide-react";
type DiagnosticsResponse = {
timestamp: string;
@@ -30,13 +31,13 @@ type DiagnosticsResponse = {
function StatusIcon({ ok }: { ok: boolean }) {
return ok ? (
<span aria-label="ok" title="ok">
</span>
<div title="ok">
<CheckCircle2 className="h-4 w-4 text-green-600" aria-label="ok" />
</div>
) : (
<span aria-label="not-ok" title="not ok">
</span>
<div title="not ok">
<XCircle className="h-4 w-4 text-red-600" aria-label="not-ok" />
</div>
);
}