@php
    $title = $title ? $title : '';
    $description = $description ? $description : '';
    $link = $link ? $link : '';
    $target = $target ? $target : '_self';
@endphp

<a 
  class="is-card-layout"
  href="{!! $link !!}"
  target="{!! $target !!}">
    @if($image)
        <figure>
            <img 
                class="lazy"
                src="{!! $image !!}"
                data-src="{!! $image_lazy !!}"
                @if($image_title) title="{!! $image_title !!}" @endif>
        </figure>
    @endif
    @if($title)
        <h2>{!! $title !!}</h2>
    @endif
    @if($description)
        <div>{!! $description !!}</div>
    @endif
</a>