@extends('layouts.admin.master') @section('title') Edit Banner @endsection @section('body')
Dashboard › Banners › Edit Banner
← Back to List

✏️ Edit Banner

Update banner details, images, and schedule settings

@if($errors->any())
⚠️ Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('POST')
1️⃣

Banner Images

🖼️
Click to upload or drag & drop
JPG, PNG, WebP — Max 2MB
Recommended: 1920 × 400 px
@if($banner->image_desktop) ✓ Current desktop image set. Upload new file to replace. @endif
📱
Click to upload or drag & drop
JPG, PNG, WebP — Max 1MB
Recommended: 750 × 400 px
@if($banner->image_mobile) ✓ Current mobile image set. Upload new file to replace. @endif
2️⃣

Banner Details

Shown in admin only — not visible to customers
Lower number = shown first
3️⃣

Schedule (optional)

Leave blank = always active
Leave blank = no expiry
Active Status
Toggle off to pause without deleting
Cancel

👁️ Live Preview

@if($banner->image_desktop) Desktop preview @else
🖼️ No desktop image
@endif
💻 Desktop Preview (1920 × 400)
@if($banner->image_mobile) Mobile preview @else
📱 No mobile image
@endif
📱 Mobile Preview (750 × 400)
@endsection