Fix: Standardize card fields for consistency

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 22:29:05 +00:00
parent ebd0f0fd56
commit 8f47dd899f
7 changed files with 88 additions and 79 deletions

View File

@@ -81,10 +81,14 @@ export function ParkCard({ park }: ParkCardProps) {
{park.name}
</h3>
{park.location && <div className="flex items-center text-sm text-muted-foreground">
<MapPin className="w-3 h-3 mr-1" />
{park.location && (
<div className="flex items-center gap-1 text-sm text-muted-foreground">
<MapPin className="w-3 h-3" />
<span className="truncate">
{park.location.city && `${park.location.city}, `}{park.location.country}
</div>}
</span>
</div>
)}
</div>
{/* Park Type */}