@php $data = $block->getMixedMedia(); $spacingType = $block->color_scheme ? 'block-padding' : 'block-margin'; @endphp @if (!empty($data))
@if ($block->anchor_id)
@endif
video && $block->video_embed) data-video="{{ base64_encode($block->video_embed) }}" data-action="play" @endif > @if ($block->video_embed || $block->video)
{!! $block->video_embed ?: '' !!}
@if ($block->image1) @endif @elseif ($data->image) @if ($data->image->extension == 'gif') {!! getMediaImg($data->image, null, htmlentities($data->title)) !!} @else {!! getMediaImg($data->image, '880x642', htmlentities($data->title)) !!} @endif @endif
@if ($data->subject)
@title($data->subject)
@endif @include('frontend.components.heading-title', [ 'title' => $data->title, 'heading_type' => $block->heading_type, 'class' => 'mixed-media-v3__title' ]) @if ($data->excerpt)
{!! $data->excerpt !!}
@endif @if (!empty($data->cta))
{!! generateLink($data->cta, 'std-button std-button--large') !!}
@endif
@endif