@extends('admin.master') @section('content')

Hero Section Management

Manage hero section title, subtitle, images and status

Add New
@if(session('success'))
{{ session('success') }}
@endif
@forelse($heroSections as $key => $item) @empty @endforelse
# Phone Images Badge Image Title Subtitle Status Action
{{ $heroSections->firstItem() + $key }} @php $phoneImages = is_array($item->phone_images) ? $item->phone_images : []; @endphp @if(count($phoneImages) > 0)
@foreach($phoneImages as $image) phone image @endforeach
@else No Image @endif
@if($item->badge_image) badge image @else No Image @endif {{ $item->title }} {{ \Illuminate\Support\Str::limit($item->subtitle, 60) }} @if($item->is_active) Active @else Inactive @endif
Edit
@csrf @method('DELETE')
No data found
{{ $heroSections->links() }}
@endsection