mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 01:31:13 -05:00
Refactor: Add edit buttons to listing pages
This commit is contained in:
@@ -116,15 +116,22 @@ export default function Rides() {
|
||||
{/* Page Header */}
|
||||
<div className="mb-8">
|
||||
<div className="flex items-center gap-3 mb-4">
|
||||
<FerrisWheel className="w-10 h-10 text-primary" />
|
||||
<FerrisWheel className="w-8 h-8 text-primary" />
|
||||
<h1 className="text-4xl font-bold">Rides & Attractions</h1>
|
||||
</div>
|
||||
<p className="text-lg text-muted-foreground">
|
||||
<p className="text-lg text-muted-foreground mb-4">
|
||||
Explore amazing rides and attractions from theme parks worldwide
|
||||
</p>
|
||||
<div className="flex items-center gap-2 mt-2">
|
||||
<Badge variant="secondary">{filteredRides.length} rides found</Badge>
|
||||
<Badge variant="outline">{rides.filter(r => r.category === 'roller_coaster').length} roller coasters</Badge>
|
||||
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex flex-wrap items-center gap-1.5 sm:gap-2">
|
||||
<Badge variant="secondary" className="text-sm sm:text-base px-2 py-0.5 sm:px-3 sm:py-1">
|
||||
{filteredRides.length} rides
|
||||
</Badge>
|
||||
<Badge variant="outline" className="text-xs sm:text-sm px-2 py-0.5">
|
||||
{rides.filter(r => r.category === 'roller_coaster').length} coasters
|
||||
</Badge>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user