trust roadmap

This commit is contained in:
arifal
2026-05-09 00:55:40 +07:00
parent 5e0232d909
commit 54cd984a7e
14 changed files with 628 additions and 281 deletions
@@ -56,10 +56,23 @@ export function OrganizerTrustPanel({
<div className="flex flex-1 flex-wrap gap-3 border-t border-neutral-100 pt-3 sm:border-t-0 sm:border-l sm:pl-4 sm:pt-0">
<div className="min-w-[100px] rounded-lg bg-white/80 px-3 py-2 shadow-sm ring-1 ring-neutral-100">
<p className="text-[10px] font-medium text-neutral-500 sm:text-xs">
Trip dibuat
Trip selesai
</p>
<p className="text-lg font-bold text-neutral-800">
{trust.tripsCreated}
<p className="text-lg font-bold text-primary-700">
{trust.tripsCompleted}
</p>
{trust.tripsCreated > trust.tripsCompleted && (
<p className="text-[10px] text-neutral-400">
+ {trust.tripsCreated - trust.tripsCompleted} berjalan
</p>
)}
</div>
<div className="min-w-[100px] rounded-lg bg-white/80 px-3 py-2 shadow-sm ring-1 ring-neutral-100">
<p className="text-[10px] font-medium text-neutral-500 sm:text-xs">
Peserta dilayani
</p>
<p className="text-lg font-bold text-secondary-700">
{trust.totalParticipantsServed}
</p>
</div>
<div className="min-w-[100px] rounded-lg bg-white/80 px-3 py-2 shadow-sm ring-1 ring-neutral-100">