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,
|
RefreshCcw,
|
||||||
FlaskConical,
|
FlaskConical,
|
||||||
CheckCircle2,
|
CheckCircle2,
|
||||||
|
Camera,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { RiskBadge } from "@/components/risk-badge";
|
import { RiskBadge } from "@/components/risk-badge";
|
||||||
|
|
||||||
@@ -62,10 +63,8 @@ export function DiagnosisResultView({
|
|||||||
alt="Daun yang dianalisis"
|
alt="Daun yang dianalisis"
|
||||||
className="w-full h-48 md:h-64 object-cover rounded-xl"
|
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">
|
<div className="mt-3 flex items-center gap-2 text-slate-500 text-md px-1">
|
||||||
<span className="w-4 h-4 bg-slate-200 rounded flex items-center justify-center text-[10px]">
|
<Camera className="w-5 h-5 text-gray-500" />
|
||||||
📷
|
|
||||||
</span>
|
|
||||||
Gambar yang dianalisis
|
Gambar yang dianalisis
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -71,11 +71,7 @@ export function DiagnosisDetailPage() {
|
|||||||
Hasil deteksi AI dan panduan edukasi
|
Hasil deteksi AI dan panduan edukasi
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button asChild variant="outline">
|
||||||
asChild
|
|
||||||
variant="outline"
|
|
||||||
className="border-[#214B11] text-[#214B11] hover:bg-[#214B11] hover:text-white"
|
|
||||||
>
|
|
||||||
<Link to="/diagnoses">Kembali ke Riwayat</Link>
|
<Link to="/diagnoses">Kembali ke Riwayat</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user