Implement Phase 3 tasks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-06 15:46:56 +00:00
parent badf3507de
commit 9380c8fd68
6 changed files with 49 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ import { RideForm } from '@/components/admin/RideForm';
import { useAuth } from '@/hooks/useAuth';
import { useUserRole } from '@/hooks/useUserRole';
import { toast } from '@/hooks/use-toast';
import { VersionIndicator } from '@/components/versioning/VersionIndicator';
export default function RideDetail() {
const { parkSlug, rideSlug } = useParams<{ parkSlug: string; rideSlug: string }>();
@@ -251,6 +252,13 @@ export default function RideDetail() {
<MapPin className="w-5 h-5 mr-2" />
{ride.park.name}
</div>
<div className="mt-3">
<VersionIndicator
entityType="ride"
entityId={ride.id}
entityName={ride.name}
/>
</div>
</div>
{ride.average_rating > 0 && (