{{-- Site Yönetimi kabuğu. Modülün beş ekranı da aynı üst şeridi paylaşır: sitenin adresi, yayın durumu ve her yerden erişilebilir eylemler (önizle / editör / yayınla). Sekme sayaçları SiteStudioComposer'dan gelir; sayfa kendi verisini hesaplamak zorunda değildir. Kullanım: …sayfaya özel düğmeler… …içerik… --}} @props(['active' => 'overview']) @php $agency = $studio['agency']; $site = $studio['site']; $isLive = $site->isPublished(); $publicUrl = $agency->public_url ?: route('customer.agency.show', $agency->slug); $tabs = [ ['key' => 'overview', 'label' => 'Genel Bakış', 'icon' => 'fa-gauge-high', 'url' => route('agency.site.index')], ['key' => 'branding', 'label' => 'Marka', 'icon' => 'fa-palette', 'url' => route('agency.site.branding.edit')], ['key' => 'domain', 'label' => 'Domain & E-posta', 'icon' => 'fa-globe', 'url' => route('agency.site.domain.index')], ['key' => 'submissions', 'label' => 'Talepler', 'icon' => 'fa-inbox', 'url' => route('agency.site.submissions.index'), 'n' => $studio['submissionCount'], 'hot' => true], ['key' => 'chats', 'label' => 'Canlı Destek', 'icon' => 'fa-headset', 'url' => route('agency.site.visitor-chats.index'), 'n' => $studio['chatCount']], ]; @endphp
@if($agency->favicon_path) @else @endif {{ preg_replace('#^https?://#', '', rtrim($publicUrl, '/')) }} @if($isLive) Yayında Son yayın {{ $site->published_at?->diffForHumans() }} @else Taslak Siteniz henüz ziyaretçilere kapalı @endif Voyage {{ $actions ?? '' }} Önizle Editör @if($isLive) @else @endif
{{ $slot }}
@once @push('scripts') @endpush @endonce