@if ($block->anchor_id )
@endif @if(!empty($block->block_title) || !empty($block->block_subtitle)) @php $block->heading_type = 'h2'; @endphp @include('frontend.templates.blocks.title-block',[ 'isInclude' => true, ]) @endif
@foreach($block->cards as $card)
@if(!empty($card->svg) && file_exists(getStoragePath(config('path.internal.media')) . '/' . $card->svg->filename))
{!! file_get_contents(getStoragePath(config('path.internal.media')) . '/' . $card->svg->filename) !!}
@elseif(!empty($card->image))
@if ($card->image->extension == 'gif') {!! getMediaImg($card->image, null, htmlentities($card->title)) !!} @else {!! getMediaImg($card->image, '150x', htmlentities($card->title)) !!} @endif
@endif
@title($card->title)
@include('frontend.templates.icons.plus') @include('frontend.templates.icons.minus')
{!! $card->content !!}
@if ($loop->index === 3) @break @endif @endforeach
@if(!empty($block->cta1))
@if ($block->bg_color == 'blue' || $block->bg_color == 'primary') {!! generateLink($block->cta1, 'std-button std-button--large std-button--light') !!} @else {!! generateLink($block->cta1, 'std-button std-button--large') !!} @endif
@endif