diff --git a/src/components/parks/ParkSortOptions.tsx b/src/components/parks/ParkSortOptions.tsx index 1b39c0f8..6bf38fea 100644 --- a/src/components/parks/ParkSortOptions.tsx +++ b/src/components/parks/ParkSortOptions.tsx @@ -12,10 +12,10 @@ export function ParkSortOptions({ sort, onSortChange }: ParkSortOptionsProps) { const sortOptions = [ { value: 'name', label: 'Name' }, { value: 'rating', label: 'Rating' }, - { value: 'rides', label: 'Ride Count' }, - { value: 'coasters', label: 'Coaster Count' }, - { value: 'reviews', label: 'Review Count' }, - { value: 'opening', label: 'Opening Date' }, + { value: 'rides', label: 'Rides' }, + { value: 'coasters', label: 'Coasters' }, + { value: 'reviews', label: 'Reviews' }, + { value: 'opening', label: 'Opening' }, ]; const toggleDirection = () => { @@ -26,19 +26,19 @@ export function ParkSortOptions({ sort, onSortChange }: ParkSortOptionsProps) { }; return ( -
+
- + - Name A-Z - Founded (Newest) + Name + Founded + {/* Mobile filter toggle */} - -
diff --git a/src/pages/Manufacturers.tsx b/src/pages/Manufacturers.tsx index 1d089be6..1895a4c9 100644 --- a/src/pages/Manufacturers.tsx +++ b/src/pages/Manufacturers.tsx @@ -162,6 +162,22 @@ export default function Manufacturers() { {/* Search and Filters */}
+ {/* Desktop: Filter toggle on the left */} + + + {/* Search bar takes remaining space */}
@@ -174,18 +190,20 @@ export default function Manufacturers() {
+ {/* Sort controls - more compact */}
+ {/* Mobile filter toggle */} - -
diff --git a/src/pages/Operators.tsx b/src/pages/Operators.tsx index 33334d8f..cb95d655 100644 --- a/src/pages/Operators.tsx +++ b/src/pages/Operators.tsx @@ -219,6 +219,22 @@ const Operators = () => { {/* Search and Filters */}
+ {/* Desktop: Filter toggle on the left */} + + + {/* Search bar takes remaining space */}
@@ -231,19 +247,21 @@ const Operators = () => {
+ {/* Sort controls - more compact */}
+ {/* Mobile filter toggle */} - -
diff --git a/src/pages/Parks.tsx b/src/pages/Parks.tsx index 82dab882..9814499a 100644 --- a/src/pages/Parks.tsx +++ b/src/pages/Parks.tsx @@ -406,6 +406,27 @@ export default function Parks() { {/* Search and Controls */}
+ {/* Desktop: Filter toggle on the left */} + + + {/* Search bar takes remaining space */}
-
+ {/* Sort controls - more compact */} +
+ {/* Mobile filter toggle */} - - setViewMode(v as 'grid' | 'list')} className="hidden md:inline-flex"> diff --git a/src/pages/Rides.tsx b/src/pages/Rides.tsx index 1068b562..8d78fc08 100644 --- a/src/pages/Rides.tsx +++ b/src/pages/Rides.tsx @@ -169,6 +169,22 @@ export default function Rides() { {/* Search and Filters */}
+ {/* Desktop: Filter toggle on the left */} + + + {/* Search bar takes remaining space */}
+ + {/* Sort controls - more compact */}
+ {/* Mobile filter toggle */} - -