File: D:/HostingSpaces/SBogers95/rentman.io/resources/views/site/templates/solutions_show.blade.php
@extends('site.master', [ 'view' => 't-gradient-bg', 'headerIsPartial' => $solution->hero_layout === 2])
@section('title', $solution->translation->meta_title)
@section('meta_description', $solution->translation->meta_description)
@if(!empty($solution->translation->hero_description))
@section('hero-body')
@if($solution->hero_layout === 1)
@include('site.components.heroTextImage', ['model' => $solution, 'images' => $images, 'additionalCol' => true])
@else
@include('site.components.heroText', ['model' => $solution])
@endif
@endsection
@endif
@section('content')
@switch($solution->hero_layout)
@case(0)
@include('site.components.hero', ['heroImages' => $images, 'modifiers' => ['tight'], 'isSwirlGrey' => ((isset($components) && $components->isNotEmpty()) ? $components->first()->grey_background : 0)])
@break
@case(1)
@include('site.components.hero', ['modifiers' => ['tight', 'small-text'], 'isSwirlGrey' => ((isset($components) && $components->isNotEmpty()) ? $components->first()->grey_background : 0)])
@break
@case(2)
@include('site.components.heroPartial', [ 'heroImages' => $images, 'modifiers' => ['small-text'] ])
@break
@endswitch
<div class="c-body o-blocks">
@include('site.organisms.components')
</div>
@endsection