{{-- Page Header compartido para demo-accounting-2 (COKE Redesign) Estilo: breadcrumbs en warm grey/primary, badge pill translúcido, Space Grotesk h2 y CTA dinámico. --}} @php $pageTitle = $pageTitle ?? 'Página'; $pageLabel = $pageLabel ?? null; $pageBreadcrumb = $pageBreadcrumb ?? $breadcrumbItems ?? [ ['label' => 'Inicio', 'url' => front_homepage_url()], ['label' => $pageTitle, 'url' => null], ]; $pageSubtitle = $pageSubtitle ?? null; $pageCompact = $pageCompact ?? config('site.page_header.compact', false); @endphp
{{-- Breadcrumb --}} @if(count($pageBreadcrumb) > 1) @endif {{-- Badge Pill --}} @if($pageLabel) {{ $pageLabel }} @endif {{-- Main Title --}}

{{ $pageTitle }}

@if($pageSubtitle)

{{ $pageSubtitle }}

@endif
{{-- Call To Action (CTA) --}} @if(config('site.page_header.show_cta', true))
@if(config('site.page_header.show_phone', false) && config('site.contact.phone')) @endif @php $ctaTitle = config('site.page_header.cta_title', config('site.header.cta_button.title', __('Contacto'))); $ctaUrl = config('site.page_header.cta_url', config('site.header.cta_button.url', '/contact')); @endphp {{ $ctaTitle }}
@endif