@extends('layouts.app') @section('content')

Hero Section Management

@include('alerts.success') @include('alerts.errors') @include('alerts.error')

All Hero Sections

@if($heroes->count() > 0)
@foreach($heroes as $hero) @endforeach
Preview Title Subtitle Description Status Current Sort Order Actions
@if($hero->background_image)
{{ $hero->title }}
@else
@endif
{{ $hero->title }} {{ $hero->subtitle }} @if($hero->description) {{ Str::limit($hero->description, 100) }} @else - @endif @if($hero->is_active) Active @else Inactive @endif @if($hero->is_current) Current @else Not Current @endif {{ $hero->sort_order }}
@csrf @method('DELETE')
@else
No hero sections found

Start by adding your first hero section.

Add Hero Section
@endif
@endsection