{{-- Section libre : titre, texte mis en forme, image facultative et bouton. --}} @php $image = $home->image($data['image'] ?? null); $background = $data['background'] ?? 'clair'; @endphp
$background === 'clair', 'bg-ivoire-2' => $background === 'ivoire', 'bg-encre text-ivoire' => $background === 'sombre', ])>
$image, ])>
$image, 'lg:row-start-1 lg:col-start-8' => $image && ($data['image_position'] ?? 'droite') === 'gauche', 'max-w-3xl' => ! $image, ])> @if (filled($data['kicker'] ?? null))

$background === 'sombre', 'text-rouge' => $background !== 'sombre'])>{{ $home->plain($data['kicker']) }}

@endif @if (filled($data['title'] ?? null))

$background === 'sombre'])>{{ $home->rich($data['title']) }}

@endif @if (filled($data['body'] ?? null))
$background === 'sombre', 'text-gris' => $background !== 'sombre'])> {!! str($data['body'])->sanitizeHtml() !!}
@endif @if (filled($data['button_label'] ?? null)) $background === 'sombre', 'bouton-plein' => $background !== 'sombre'])>{{ $data['button_label'] }} @endif
@if ($image) @endif