File: D:/HostingSpaces/SBogers10/beerten.komma.nl/resources/views/templates/projects_show.blade.php
@extends('master')
@section('title', $project->translation->meta_title != '' ? $project->translation->meta_title : $project->translation->name .' | '. $page->translation->name .' | '. config('site.company_name'))
@section('meta_title', $project->translation->meta_title ?? '')
@section('meta_description', $project->translation->meta_description ?? '')
@section('content')
@include('organisms.heroContentImage', [
'model' => $project,
'backToLink' => $links->projects->route,
'backToLabel' => __('projects.backToLabel'),
])
{{--When components are set on this page they will be put here --}}
@include('organisms.components')
{{-- Always show the projects menu here after the components --}}
<div class="o-block">
<div class="l-split l-split--contain l-split--is-reversed l-split--breakout-on-m">
<div class="l-split__column l-split__column--vpad u-spacing-pr0@l s-text">
<h2>{!! $servicePointHeading !!}</h2>
@include('components.servicePoint', [
'buttonText' => $servicePointButton->translation->label,
'buttonLink' => $servicePointButton->translation->url,
])
</div>
<div class="l-split__column">
@include('components.subnav', [
'modifiers' => ['boxed'],
'menuName' => __('projects.menuName'),
'models' => $projects,
'modelTypeRoute' => $links->projects->route,
'activeModelId' => $project->id,
'showBackToIndex' => false,
'backToLabel' => __('projects.backToLabel'),
])
</div>
</div>
</div>
{{-- Discover row fixed on this page --}}
<div class="l-contain o-block">
@if(isset($discover_page_codenames) && count($discover_page_codenames) > 0)
@include('organisms.cardGrid', [
'title' => __('projects.heading'),
'cardItems' => $discover_page_codenames,
'modelThroughLinks' => true
])
@endif
</div>
@endsection