{{-- Professional page hero for admin pages. @include('admin.partials.pro-hero', [ 'icon' => 'fas fa-users', 'title' => __('Team Members'), 'subtitle' => __('Manage your team members'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Team'), 'url' => null], ], 'action' => [ 'type' => 'link', // link | modal 'url' => route('admin.team.create'), 'label' => __('Add New Member'), 'icon' => 'fas fa-plus', 'modal_target' => '#modal1', 'modal_href' => route('admin.team.create'), 'modal_id' => 'add-data', ], ]) --}}

{{ $title }}

@if(!empty($subtitle))

{{ $subtitle }}

@endif @if(!empty($breadcrumbs))
    @foreach($breadcrumbs as $crumb)
  • @if(!empty($crumb['url'])) {{ $crumb['label'] }} @else {{ $crumb['label'] }} @endif
  • @endforeach
@endif
@if(!empty($action)) @if(($action['type'] ?? 'link') === 'modal') {{ $action['label'] }} @else {{ $action['label'] }} @endif @endif