Reverted to commit 801e3a57f5

This commit is contained in:
gpt-engineer-app[bot]
2025-09-29 13:14:52 +00:00
parent e6504c0951
commit 53331a4b03

View File

@@ -444,26 +444,24 @@ export default function ParkDetail() {
</p> </p>
)} )}
{/* Stats - Only show for roller coasters */} {/* Stats */}
{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"> <MeasurementDisplay value={ride.max_speed_kmh} type="speed" />
<MeasurementDisplay value={ride.max_speed_kmh} type="speed" /> </span>
</span> )}
)} {ride.max_height_meters && (
{ride.max_height_meters && ( <span className="bg-accent/10 text-accent px-2 py-1 rounded-md text-xs font-medium">
<span className="bg-accent/10 text-accent px-2 py-1 rounded-md text-xs font-medium"> <MeasurementDisplay value={ride.max_height_meters} type="distance" />
<MeasurementDisplay value={ride.max_height_meters} type="distance" /> </span>
</span> )}
)} {ride.inversions > 0 && (
{ride.inversions > 0 && ( <span className="bg-secondary/10 text-secondary px-2 py-1 rounded-md text-xs font-medium">
<span className="bg-secondary/10 text-secondary px-2 py-1 rounded-md text-xs font-medium"> {ride.inversions} inversions
{ride.inversions} inversions </span>
</span> )}
)} </div>
</div>
)}
</div> </div>
</CardContent> </CardContent>
</Card> </Card>