@if(!empty($tile->image)) @if($tile->cols !== 'single') {!! getMediaImg($tile->image, '1180x640', htmlspecialchars(''), 'landing-tile__bg') !!} @else {!! getMediaImg($tile->image, '500x640', htmlspecialchars(''), 'landing-tile__bg') !!} @endif @endif @if(!empty($tile->overlay_color))
@endif
@if ($tile->type == 'generic')
{!! $tile->content !!}
@if($tile->call_to_action)
{!! generateLink($tile->call_to_action, 'std-button std-button--' . ($tile->text_scheme == 'dark' && $tile->text_position == 'top' && $tile->overlay == 'yes' ? 'light' : $tile->text_scheme )) !!}
@endif @if($tile->contact) @endif @elseif ($tile->type == 'text')
{!! $tile->content !!}
@if(!empty($tile->call_to_action))
{!! generateLink($tile->call_to_action, 'std-button std-button--' . $tile->text_scheme) !!}
@endif @if(!empty($tile->contact)) @endif @elseif ($tile->type == 'testimonial' && $tile->testimonial)
@if($tile->testimonial->photo)
{!! getMediaImg($tile->testimonial->photo, '200x200', htmlspecialchars($tile->testimonial->title)) !!}
@endif

{{ $tile->testimonial->title }}

{{ $tile->testimonial->role }} {{ $tile->testimonial->role && $tile->testimonial->company ? trans('frontend.at') : '' }} {{ $tile->testimonial->company }}
{!! $tile->testimonial->quote !!}
@if($tile->call_to_action)
{!! generateLink($tile->call_to_action, 'std-button std-button--dark') !!}
@endif @if($tile->contact) @endif @endif