@props([
'eyebrow' => null,
'heading' => '',
'lede' => null,
])
{{--
Hero-style mail layout used by all heroes/*.blade.php views.
Props:
- eyebrow: small uppercase label above the heading (optional)
- heading: H1 line (HTML allowed via {!! !!})
- lede: paragraph after heading (optional, HTML allowed)
Slots:
- default: body content
- cta: primary call-to-action (optional)
- subcopy: small footer copy (optional)
--}}
{{ $heading }}
|
@if (! empty($eyebrow))
{{ $eyebrow }}
@endif
{!! $heading !!}
@if (! empty($lede))
{!! $lede !!}
@endif
{{ $slot }}
@isset($cta)
{{ $cta }}
@endisset
@isset($subcopy)
{{ $subcopy }}
@endisset
|
|