mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 07:31:13 -05:00
Implement Phase 3 tasks
This commit is contained in:
@@ -20,6 +20,8 @@ import { ParkForm } from '@/components/admin/ParkForm';
|
||||
import { toast } from '@/hooks/use-toast';
|
||||
import { useUserRole } from '@/hooks/useUserRole';
|
||||
import { Edit } from 'lucide-react';
|
||||
import { VersionIndicator } from '@/components/versioning/VersionIndicator';
|
||||
|
||||
export default function ParkDetail() {
|
||||
const {
|
||||
slug
|
||||
@@ -253,6 +255,13 @@ export default function ParkDetail() {
|
||||
<MapPin className="w-5 h-5 mr-2" />
|
||||
{park.location.city && `${park.location.city}, `}{park.location.country}
|
||||
</div>}
|
||||
<div className="mt-3">
|
||||
<VersionIndicator
|
||||
entityType="park"
|
||||
entityId={park.id}
|
||||
entityName={park.name}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{park.average_rating > 0 && <div className="bg-black/20 backdrop-blur-sm rounded-lg p-4 text-center">
|
||||
|
||||
Reference in New Issue
Block a user