feat(diagnosis): add back to history button and update UI icons
- Add "Kembali ke Riwayat" button to `diagnosis-detail-page.tsx` for better navigation flow. - Update camera icon in `diagnose-result-view.tsx` to align with the new UI design. - Resolve merge conflicts with main to sync latest workflow changes.
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
RefreshCcw,
|
||||
FlaskConical,
|
||||
CheckCircle2,
|
||||
Camera,
|
||||
} from "lucide-react";
|
||||
import { RiskBadge } from "@/components/risk-badge";
|
||||
|
||||
@@ -62,10 +63,8 @@ export function DiagnosisResultView({
|
||||
alt="Daun yang dianalisis"
|
||||
className="w-full h-48 md:h-64 object-cover rounded-xl"
|
||||
/>
|
||||
<div className="mt-3 flex items-center gap-2 text-slate-500 text-sm px-1">
|
||||
<span className="w-4 h-4 bg-slate-200 rounded flex items-center justify-center text-[10px]">
|
||||
📷
|
||||
</span>
|
||||
<div className="mt-3 flex items-center gap-2 text-slate-500 text-md px-1">
|
||||
<Camera className="w-5 h-5 text-gray-500" />
|
||||
Gambar yang dianalisis
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -71,11 +71,7 @@ export function DiagnosisDetailPage() {
|
||||
Hasil deteksi AI dan panduan edukasi
|
||||
</p>
|
||||
</div>
|
||||
<Button
|
||||
asChild
|
||||
variant="outline"
|
||||
className="border-[#214B11] text-[#214B11] hover:bg-[#214B11] hover:text-white"
|
||||
>
|
||||
<Button asChild variant="outline">
|
||||
<Link to="/diagnoses">Kembali ke Riwayat</Link>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user