@props([ 'eyebrow' => 'MPBA WMS', 'title', 'description' => null, 'subtitle' => null, 'icon' => null, 'stats' => [], ]) @php $heroDescription = $description ?? $subtitle ?? null; @endphp
merge(['class' => 'wms-page-hero']) }}>

{{ $eyebrow }}

{{ $title }}

@if ($heroDescription)

{{ $heroDescription }}

@endif
@if (count($stats) > 0 || $icon || $slot->isNotEmpty())
@foreach ($stats as $stat)
{{ $stat['label'] ?? '' }} @if (!empty($stat['icon'])) @endif {{ $stat['value'] ?? '' }}
@endforeach @if ($icon && count($stats) === 0 && $slot->isEmpty()) @endif @if ($slot->isNotEmpty()) {{ $slot }} @endif
@endif