@php $bodyClass = 'sectors-detail'; $layout_path = 'frontend.layouts.content-sidebar'; if($sector->layout_type == 'blocks') { $bodyClass .= ' sectors-detail--blocks'; $layout_path = 'frontend.layouts.main'; if($sector->header_overlap) { $bodyClass .= ' header-over'; } } @endphp @extends($layout_path, [ 'body_class' => $bodyClass, 'objectEmbeds' => $sector->codeEmbeds ]) @if($sector->layout_type == 'blocks') @section('content')
@include('frontend.templates.components.blocks_section', ['blocks' => $sector->blocks])
@stop @else @section('content-toolbar') @include('frontend.templates.components.share_buttons') @stop @section('content-top')

{{ $sector->tagline }}

@stop @section('content-left') @if($sector->summary)
{!! strip_tags($sector->summary, '') !!}
@endif @if($sector->content)
{!! $sector->content !!}
@endif @stop @section('content-footer') @if($sector->relatedSolutions->count()) @include( 'frontend.templates.components.generic_related_slider', [ 'title' => $sector->title . ' ' . trans('frontend.solutions_and_products'), 'items' => $sector->relatedSolutions, 'itemImageField' => 'overviewImage', 'itemImageSize' => '400x400' ] ) @endif @include('frontend.templates.components.simple_related_items', array('title' => trans('frontend.related_case_studies'))) @stop @endif