$banner->getLocation() === 'panel', '' => $banner->getLocation() === 'body', '' => $banner->getLocation() === 'nav', '' => $banner->getLocation() === 'global_search', ]) > @if ($banner->isVisible()) @php $start_color = $banner->start_color; $end_color = ''; $target = null; if (isset($banner->link_click_action) && $banner->link_click_action === 'clickable_banner') { $target = $banner->link_open_in_new_tab ? '_blank' : '_self'; } if ($banner->background_type === 'gradient') { $end_color = $banner->end_color; } else { $end_color = $banner->start_color; } @endphp
$banner->render_location !== \Filament\View\PanelsRenderHook::BODY_START ])>
@if ($banner->icon) @endif
{!! $banner->content !!}
@if (isset($banner->link_active) && $banner->link_active && $banner->link_click_action === "button")
@if ($banner->link_button_style === 'button') @endif @if ($banner->link_button_style === 'link') @endif
@endif @if ($banner->can_be_closed_by_user) @endif
@endif