Compare commits

..

No commits in common. "20eabbb85fb6e4b5e331abd82a9b89085f874262" and "2f3a0f36527b6070c0338b91f8fa1b4ccda79ea3" have entirely different histories.

1 changed files with 2 additions and 16 deletions

View File

@ -145,27 +145,13 @@ export default function UserDetailPage() {
<p className="text-sm text-muted-foreground flex items-center gap-1"> <p className="text-sm text-muted-foreground flex items-center gap-1">
<TreePine className="h-3 w-3 text-green-600" /> <TreePine className="h-3 w-3 text-green-600" />
</p> </p>
<p className="text-lg font-bold text-green-600"> <p className="text-lg font-bold text-green-600">{formatNumber(user?.personalAdoptions ?? 0)}</p>
{formatNumber(user?.personalAdoptions ?? 0)}
{(user?.personalAdoptionOrders ?? 0) > 0 && (
<span className="text-sm font-normal text-green-500 ml-1">
({user?.personalAdoptionOrders})
</span>
)}
</p>
</div> </div>
<div className="p-3 bg-blue-50 dark:bg-blue-950 rounded-lg"> <div className="p-3 bg-blue-50 dark:bg-blue-950 rounded-lg">
<p className="text-sm text-muted-foreground flex items-center gap-1"> <p className="text-sm text-muted-foreground flex items-center gap-1">
<Users className="h-3 w-3 text-blue-600" /> <Users className="h-3 w-3 text-blue-600" />
</p> </p>
<p className="text-lg font-bold text-blue-600"> <p className="text-lg font-bold text-blue-600">{formatNumber(user?.teamAdoptions ?? 0)}</p>
{formatNumber(user?.teamAdoptions ?? 0)}
{(user?.teamAdoptionOrders ?? 0) > 0 && (
<span className="text-sm font-normal text-blue-500 ml-1">
({user?.teamAdoptionOrders})
</span>
)}
</p>
</div> </div>
<div className="p-3 bg-purple-50 dark:bg-purple-950 rounded-lg"> <div className="p-3 bg-purple-50 dark:bg-purple-950 rounded-lg">
<p className="text-sm text-muted-foreground"></p> <p className="text-sm text-muted-foreground"></p>