@extends('layouts.admin') @section('title', 'Kelola Page Heroes') @section('content')

Kelola Page Heroes

Kelola hero section untuk setiap halaman website

Total Heroes

{{ $pageHeroes->count() }}

Aktif

{{ $pageHeroes->where('is_active', true)->count() }}

Nonaktif

{{ $pageHeroes->where('is_active', false)->count() }}

Global Settings

Konfigurasi default

@forelse($pageHeroes as $hero) @empty @endforelse
Hero Section Halaman Tinggi Status Dibuat Aksi
@if($hero->background_image)
{{ $hero->title }}
@else
@endif
{{ Str::limit($hero->title, 40) }}
@if($hero->subtitle)
{{ Str::limit($hero->subtitle, 50) }}
@endif
{{ App\Models\PageHero::getPageIdentifierOptions()[$hero->page_identifier] ?? ucfirst($hero->page_identifier) }} {{ App\Models\PageHero::getHeightOptions()[$hero->height] ?? ucfirst($hero->height) }} @if($hero->is_active) Aktif @else Nonaktif @endif {{ $hero->created_at->format('d M Y') }}

Belum ada hero section

Mulai menambahkan hero section untuk halaman-halaman website

Tambah Hero dapat
@push('scripts') @endpush @endsection