@php $isEdit = isset($banner); $disk = config('upload.disk'); $bannerType = old('banner_type', $banner->banner_type ?? 'single'); // Recommended banner dimensions, mirrored 1:1 by BANNER_SIZES in the script // below so the guidelines box and the live hint can never drift apart. $bannerSizes = ['full' => [1100, 450], 'half' => [525, 260]]; $maxImageMb = round(config('upload.max_size.banner') / 1024, 1); @endphp
Created by {{ $banner->creator?->name ?? '—' }} on {{ $banner->created_at?->format('d M Y, h:i A') }} · Last updated by {{ $banner->updater?->name ?? '—' }} on {{ $banner->updated_at?->format('d M Y, h:i A') }}
@endif