mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 06:11:13 -05:00
Refactor ride card text display
This commit is contained in:
@@ -444,7 +444,8 @@ export default function ParkDetail() {
|
||||
</p>
|
||||
)}
|
||||
|
||||
{/* Stats */}
|
||||
{/* Stats - Only show for roller coasters */}
|
||||
{ride.category === 'roller_coaster' && (
|
||||
<div className="flex items-center gap-2 flex-wrap">
|
||||
{ride.max_speed_kmh && (
|
||||
<span className="bg-primary/10 text-primary px-2 py-1 rounded-md text-xs font-medium">
|
||||
@@ -462,6 +463,7 @@ export default function ParkDetail() {
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user