@extends('shared.trip-planner', ['title' => 'Gezi Planlayıcı · Genel Bakış']) @section('styles') @endsection @section('content') @php $photoUrl = static function ($place): ?string { if (!$place) return null; $cover = trim((string) ($place->manual_cover_photo_path ?? '')); if ($cover !== '') return str_starts_with($cover,'http://') || str_starts_with($cover,'https://') ? $cover : asset(ltrim($cover,'/')); $paths = collect($place->manual_photo_paths ?? [])->filter()->values(); $first = trim((string) ($paths->first() ?? '')); return $first !== '' ? (str_starts_with($first,'http://') || str_starts_with($first,'https://') ? $first : asset(ltrim($first,'/'))) : null; }; $randomPhotoUrl = static function ($place) use ($photoUrl): ?string { if (!$place) return null; $paths = collect($place->manual_photo_paths ?? [])->filter(fn ($path) => trim((string) $path) !== '')->values(); if ($paths->isNotEmpty()) { $picked = trim((string) $paths->random()); if ($picked !== '') return str_starts_with($picked,'http://') || str_starts_with($picked,'https://') ? $picked : asset(ltrim($picked,'/')); } return $photoUrl($place); }; $activePct = $stats['places_total'] > 0 ? (int) round(($stats['places_active'] / $stats['places_total']) * 100) : 0; @endphp
Noktaları, hazır rotaları, bölgeleri ve merkezi tanımları tek merkezden yönetin.
En son düzenlenen gezi noktaları.
Yayında olan hazır rota paketleri.
Sık kullanılan yönetim aksiyonları.