diff --git a/src/components/rides/CoasterStatistics.tsx b/src/components/rides/CoasterStatistics.tsx index c3d8b3ff..f50dbd77 100644 --- a/src/components/rides/CoasterStatistics.tsx +++ b/src/components/rides/CoasterStatistics.tsx @@ -64,7 +64,7 @@ export const CoasterStatistics = ({ statistics }: CoasterStatisticsProps) => {

{category}

-
+
{stats .sort((a, b) => a.display_order - b.display_order) .map((stat) => ( diff --git a/src/components/rides/RecentPhotosPreview.tsx b/src/components/rides/RecentPhotosPreview.tsx index 71db47bd..95729c9b 100644 --- a/src/components/rides/RecentPhotosPreview.tsx +++ b/src/components/rides/RecentPhotosPreview.tsx @@ -66,7 +66,7 @@ export function RecentPhotosPreview({ rideId, onViewAll }: RecentPhotosPreviewPr -
+
{photos.map((photo) => (
{ @@ -50,12 +49,12 @@ export function RideCard({ ride, showParkName = true, className, parkSlug, compa return (
{/* Image/Icon Section */} -
+
{(ride.card_image_url || ride.card_image_id || ride.image_url) ? (
- + {/* Header */}

diff --git a/src/components/rides/RideHighlights.tsx b/src/components/rides/RideHighlights.tsx index c73f0da4..a1d1a3ac 100644 --- a/src/components/rides/RideHighlights.tsx +++ b/src/components/rides/RideHighlights.tsx @@ -62,7 +62,7 @@ export function RideHighlights({ ride }: RideHighlightsProps) { Ride Highlights -
+
{highlights.map((highlight, index) => (
{highlight.icon}
diff --git a/src/components/rides/SimilarRides.tsx b/src/components/rides/SimilarRides.tsx index c2242893..a1a04f8e 100644 --- a/src/components/rides/SimilarRides.tsx +++ b/src/components/rides/SimilarRides.tsx @@ -79,7 +79,7 @@ export function SimilarRides({ currentRideId, parkId, parkSlug, category }: Simi Similar Rides You Might Enjoy -
+
{rides.map((ride) => ( {category}

-
+
{specs .sort((a, b) => a.display_order - b.display_order) .map((spec) => ( diff --git a/src/pages/DesignerDetail.tsx b/src/pages/DesignerDetail.tsx index 15474cbd..4ca2cda7 100644 --- a/src/pages/DesignerDetail.tsx +++ b/src/pages/DesignerDetail.tsx @@ -200,7 +200,7 @@ export default function DesignerDetail() {
{/* Company Info */} -
+
{designer.founded_year && ( diff --git a/src/pages/ManufacturerDetail.tsx b/src/pages/ManufacturerDetail.tsx index 25adbdce..35b0dd12 100644 --- a/src/pages/ManufacturerDetail.tsx +++ b/src/pages/ManufacturerDetail.tsx @@ -202,7 +202,7 @@ export default function ManufacturerDetail() {
{/* Company Info */} -
+
{manufacturer.founded_year && ( diff --git a/src/pages/OperatorDetail.tsx b/src/pages/OperatorDetail.tsx index f4bb34c9..c9983ae8 100644 --- a/src/pages/OperatorDetail.tsx +++ b/src/pages/OperatorDetail.tsx @@ -229,7 +229,7 @@ export default function OperatorDetail() {
{/* Company Info */} -
+
{operator.founded_year && ( @@ -292,13 +292,13 @@ export default function OperatorDetail() {
{parksLoading ? ( -
+
{[1, 2, 3].map((i) => (
))}
) : parks.length > 0 ? ( -
+
{parks.map((park) => ( ))} diff --git a/src/pages/ParkDetail.tsx b/src/pages/ParkDetail.tsx index da5e36b4..24c06755 100644 --- a/src/pages/ParkDetail.tsx +++ b/src/pages/ParkDetail.tsx @@ -282,11 +282,11 @@ export default function ParkDetail() {
{/* Quick Stats */} -
+
{/* Background decorative elements */}
-
+
{/* Total Rides */}
@@ -358,66 +358,62 @@ export default function ParkDetail() {
{/* Main Content */} -
- - - Overview - Rides ({rides.length}) - Reviews - Photos - History - + + + Overview + Rides ({rides.length}) + Reviews + Photos + History + - -
- {/* Left column - main content */} -
- {/* Description */} - {park.description && - - About {park.name} - - -

- {park.description} -

-
-
} - - {/* Featured Rides */} - + +
+
+ {/* Description */} + {park.description && - Featured Rides + About {park.name} -
- {rides.slice(0, 6).map(ride => ( - - ))} -
- {rides.length > 6 && ( -
- -
- )} +

+ {park.description} +

-
-
+ } - {/* Right sidebar - sticky on desktop */} -
+ {/* Featured Rides */} + + + Featured Rides + + +
+ {rides.slice(0, 4).map(ride => ( + + ))} +
+ {rides.length > 4 && ( +
+ +
+ )} +
+
+
+ +
{/* Park Information */} @@ -633,7 +629,6 @@ export default function ParkDetail() { -
{/* Add Ride Modal */} diff --git a/src/pages/PropertyOwnerDetail.tsx b/src/pages/PropertyOwnerDetail.tsx index 050e0537..3a8e860e 100644 --- a/src/pages/PropertyOwnerDetail.tsx +++ b/src/pages/PropertyOwnerDetail.tsx @@ -229,7 +229,7 @@ export default function PropertyOwnerDetail() {
{/* Company Info */} -
+
{owner.founded_year && ( @@ -292,13 +292,13 @@ export default function PropertyOwnerDetail() {
{parksLoading ? ( -
+
{[1, 2, 3].map((i) => (
))}
) : parks.length > 0 ? ( -
+
{parks.map((park) => ( ))} diff --git a/src/pages/RideDetail.tsx b/src/pages/RideDetail.tsx index acfe41d2..16d67a82 100644 --- a/src/pages/RideDetail.tsx +++ b/src/pages/RideDetail.tsx @@ -290,8 +290,7 @@ export default function RideDetail() {
{/* Quick Stats */} -
-
+
{ride.max_speed_kmh && ( @@ -379,64 +378,58 @@ export default function RideDetail() { )}
-
{/* Main Content */} -
- - - Overview - Specifications - Reviews - Photos - History - + + + Overview + Specifications + Reviews + Photos + History + - -
- {/* Left column - main content */} -
- {/* Description */} - {ride.description && ( - - - About {ride.name} - - -

- {ride.description} -

-
-
- )} + +
+
+ {/* Description */} + {ride.description && ( + + + About {ride.name} + + +

+ {ride.description} +

+
+
+ )} - {ride.name_history && ride.name_history.length > 0 && ( - - )} + {ride.name_history && ride.name_history.length > 0 && ( + + )} - {/* Similar Rides in left column */} - + - {/* Recent Photos in left column */} - setActiveTab("photos")} - /> -
+ setActiveTab("photos")} + /> +
- {/* Right sidebar - sticky on desktop */} -
- +
+ {/* Ride Information */} @@ -549,14 +542,13 @@ export default function RideDetail() { -
-
+
{/* Performance Stats */} Performance - + {ride.max_speed_kmh && (
Maximum Speed @@ -615,7 +607,7 @@ export default function RideDetail() { Operational Details - + {ride.capacity_per_hour && (
Capacity @@ -645,7 +637,6 @@ export default function RideDetail() {
-
@@ -712,7 +703,6 @@ export default function RideDetail() { -
{/* Edit Ride Modal */}