@php $title = $data['title'] ?? ''; $subtitle = $data['subtitle'] ?? ''; $imageUrl = $data['image_url'] ?? null; $imageAlt = $data['image_alt'] ?? ($title ?: 'Imagem de destaque'); $backgroundColor = $data['background_color'] ?? '#ffffff'; // Configurações de Tamanho $sizeType = $data['image_size_type'] ?? '100'; $customSize = $data['image_size_custom'] ?? ''; $imageWidth = ($sizeType === 'custom' && $customSize) ? $customSize : $sizeType; @endphp
@if($title || $subtitle)
@if($subtitle)

{{ $subtitle }}

@endif @if($title)

{{ $title }}

@endif
@endif
@if($imageUrl) {{ $imageAlt }} @else @endif