{{-- Kurumsal Marka klasörünün üstündeki logo / favicon slotları. Her slotun ölçüsü zorunludur (App\Support\BrandAssets). Görsel doğrudan yüklenebilir ya da diskteki uygun ölçüdeki bir görsel seçilebilir. Beklenen: $agency --}} @php use App\Support\BrandAssets; @endphp
Marka dosyaları Ölçüler zorunludur — farklı ölçüdeki görsel kabul edilmez.
@foreach(BrandAssets::SLOTS as $slot => $spec) @php $path = $agency->{$spec['column']}; @endphp
@if($path) {{ $spec['label'] }} @else Henüz yüklenmedi @endif
{{ $spec['label'] }} @if($path) Kullanımda@endif
{{ BrandAssets::sizeLabel($slot) }} {{ BrandAssets::formatLabel($slot) }}
{{ $spec['usage'] }}
{{ $spec['tip'] }}
@if($path && ($info = @getimagesize(storage_path('app/public/' . $path))) && ($info[0] !== $spec['width'] || $info[1] !== $spec['height']))
Mevcut görsel {{ $info[0] }} × {{ $info[1] }} px — zorunlu ölçüde yenisini atayın.
@endif
@if($path && $slot !== 'logo') @endif
@endforeach
@include('agency.disk.partials.brand-picker') @push('scripts') @endpush