mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 17:11:12 -05:00
Refactor: Remove descriptions from cards
This commit is contained in:
@@ -81,17 +81,12 @@ export function ParkCard({ park }: ParkCardProps) {
|
||||
{park.name}
|
||||
</h3>
|
||||
|
||||
{park.location && <div className="flex items-center text-sm text-muted-foreground">
|
||||
{park.location && <div className="flex items-center text-sm text-muted-foreground">
|
||||
<MapPin className="w-3 h-3 mr-1" />
|
||||
{park.location.city && `${park.location.city}, `}{park.location.country}
|
||||
</div>}
|
||||
</div>
|
||||
|
||||
{/* Description */}
|
||||
{park.description && <p className="text-sm text-muted-foreground line-clamp-2">
|
||||
{park.description}
|
||||
</p>}
|
||||
|
||||
{/* Park Type */}
|
||||
<Badge variant="outline" className="text-xs">
|
||||
{formatParkType(park.park_type)}
|
||||
|
||||
Reference in New Issue
Block a user