@php $bodyClass = 'solutions-detail'; $layout_path = 'frontend.layouts.content-sidebar'; if($solution->layout_type == 'blocks') { $bodyClass .= ' solutions-detail--blocks'; $layout_path = 'frontend.layouts.main'; if($solution->header_overlap) { $bodyClass .= ' header-over'; } } else { if (!$solution->slides->isEmpty()) { $bodyClass .= ' header-over'; } } @endphp @extends($layout_path, [ 'body_class' => $bodyClass, 'objectEmbeds' => $solution->codeEmbeds ]) @if($solution->layout_type == 'blocks') @section('content')
@include('frontend.templates.components.blocks_section', ['blocks' => $solution->blocks])
@stop @else @if(!$solution->slides->isEmpty()) @section('content-header')
@include('frontend.templates.components.gallery-slider', array( "slides" => $solution->slides, "overlayId" => "solution-overlay-container" ))
@include('frontend.templates.components.default_header_content', [ 'headerTitle' => $solution->title, 'headerTagline' => $solution->tagline ])
@stop @endif @section('content-toolbar') @if(!empty($solution->factSheet->pardot_url)) $solution->factSheet->title, "url" => $solution->factSheet->pardot_url ])) }}" data-controller="components/form-modal" data-popupid="download-modal" > @endif @include('frontend.templates.components.share_buttons') @stop @if ($solution->slides->isEmpty()) @section('content-top')

{{$solution->title}}

@stop @endif @section('content-left') @if($solution->objective)
{!! strip_tags($solution->objective, '') !!}
@endif @if($solution->content)
{!! $solution->content !!}
@endif @if($solution->in_depth)
{!! $solution->in_depth !!}
@endif @stop @section('content-footer') @if($solution->solutions->count()) @include( 'frontend.templates.components.generic_related_slider', [ 'title' => trans('frontend.related_solutions'), 'items' => $solution->solutions, 'itemImageField' => 'overviewImage', 'itemImageSize' => '400x400' ] ) @endif @include('frontend.templates.components.simple_related_items', array('title' => trans('frontend.further_reading'))) @stop @endif