@props([ 'eyebrow' => null, // small label above the title 'title' => null, // main heading (HTML allowed, e.g. a highlighted word) 'description' => null, // supporting paragraph 'align' => 'center', // center | left 'tone' => 'light', // light (on white/light bg) | dark (on green/dark bg) 'tag' => 'h2', // heading tag, keep the page's heading order logical ]) {{-- Standard section heading used on every frontend page. Styles live in resources/css/app.css (.section-head, .section-eyebrow, .section-title, .section-lead). Usage: --}}
class(['section-head', 'section-head--' . $align, 'section-head--dark' => $tone === 'dark']) }}> @if ($eyebrow)

{{ $eyebrow }}

@endif @if ($title) <{{ $tag }} class="section-title">{!! $title !!} @endif @if ($description)

{{ $description }}

@endif