@props([ 'title', 'subtitle' => null, 'icon' => null, 'tone' => 'default', // patients, appointments, records, prescriptions, invoices, payments, labs, reports, settings, staff, schedules 'stats' => [], // [['icon' => 'ti-...', 'label' => '...', 'value' => '...'], ...] ]) {{-- Page hero banner — gradient background, icon, title, subtitle, optional KPI strip in the gradient, plus action slot. Each tenant page renders one of these instead of for a consistent first-impression. The `tone` prop maps to a gradient defined in clinic-pages.css. --}}
@if($icon) @endif
{{ $title }}
@if($subtitle)
{{ $subtitle }}
@endif
@isset($actions)
{{ $actions }}
@endisset
@if(! empty($stats))
@foreach($stats as $s) @if(! empty($s['icon']))@endif {!! $s['value'] !!} {{ $s['label'] }} @endforeach
@endif