@php $isBackgroundTransparent = echo_check_transparent_color($shortcode->background_color); $titleColor = $isBackgroundTransparent ? 'inherit' : '#ffffff'; $lineColor = $isBackgroundTransparent ? '#5E5E5E' : '#ffffff'; $textBodyColor = $isBackgroundTransparent ? 'var(--text-body)' : 'rgba(255, 255, 255, 0.8)'; @endphp
$sidebar]) @style([ ...$variableStyles, "--title-color: $titleColor" => $titleColor, "--line-color: $lineColor" => $lineColor, "--text-body-color: $textBodyColor" => $textBodyColor, ]) >
$sidebar, 'col-12' => ! $sidebar, ]) >
@if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

@endif @if ($posts->isNotEmpty())
@foreach($posts as $post)
{{ RvMedia::image($post->image, $post->name, 'small') }} {!! Theme::partial('blog.post.partials.action-post', compact('post')) !!}
@if ($category = $post->firstCategory) @endif
{{ $post->name }} @if ($description = $post->description)

{!! BaseHelper::clean($description) !!}

@endif
@endforeach
@endif
@if ($sidebar)
{!! dynamic_sidebar($sidebar) !!}
@endif