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