mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 04:51:13 -05:00
Refactor: Remove descriptions from cards
This commit is contained in:
@@ -101,13 +101,6 @@ export function RideCard({ ride, showParkName = true, className, parkSlug }: Rid
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Description */}
|
||||
{ride.description && (
|
||||
<p className="text-sm text-muted-foreground line-clamp-2">
|
||||
{ride.description}
|
||||
</p>
|
||||
)}
|
||||
|
||||
{/* Category Badge */}
|
||||
<Badge variant="outline" className="text-xs">
|
||||
{formatCategory(ride.category)}
|
||||
|
||||
@@ -64,16 +64,9 @@ export function RideModelCard({ model, manufacturerSlug }: RideModelCardProps) {
|
||||
</div>
|
||||
|
||||
<CardContent className="p-4 space-y-3">
|
||||
<div>
|
||||
<h3 className="font-semibold text-lg line-clamp-1 group-hover:text-primary transition-colors">
|
||||
{model.name}
|
||||
</h3>
|
||||
{model.description && (
|
||||
<p className="text-sm text-muted-foreground line-clamp-2 mt-1">
|
||||
{model.description}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<h3 className="font-semibold text-lg line-clamp-1 group-hover:text-primary transition-colors">
|
||||
{model.name}
|
||||
</h3>
|
||||
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Badge variant="secondary" className="text-xs">
|
||||
|
||||
Reference in New Issue
Block a user