File: D:/HostingSpaces/stafa/stafa.nl/resources/views/site/templates/projects_show.blade.php
@extends('site.master')
@section('title', $project->translation->meta_title != '' ? $project->translation->meta_title : $project->translation->name .' | '. $page->translation->name .' | '. config('site.company_name'))
@section('meta_description', $page->translation->meta_description)
@section('content')
<div class="o-body">
@include('site.organisms.hero', [
'backButtonText' => __('site/projects.backToLabel'),
'backButtonLink' => $links->projects->route,
'heroTitle' => $page->translation->name . ' → ' . $project->translation->name,
'heroHeader' => $project->hero->title,
'heroText' => $project->hero->description,
'heroImages' => $project->hero->documents->values()->toArray(),
'heroActionButtonLabel' => !empty($project->hero->buttons->translation) ? $project->hero->buttons->translation->label : null,
'heroActionButtonLink' => !empty($project->hero->buttons->translation) ? $project->hero->buttons->translation->url : null,
])
<div class="u-bg-wrapper">
<div class="u-ornament-triangle"></div>
<div class="u-bg-triangle-neutral"></div>
@include('site.organisms.components')
<div class="o-block l-contain">
@include('site.components.servicepoint', [
'servicepoint' => $servicepoint,
'servicepointText' => __('site/global.servicepoint.text'),
'alternate' => true,
'servicepointButtonText' => __('site/projects.servicepointContactButton'),
'servicepointButtonLink' => $links->contact->route
])
</div>
@include('site.organisms.cardGrid', [
'headerTitle' => __('site/projects.featuredTitle'),
'showBackToIndex' => true,
'backToLabel' => __('site/projects.backToLabel'),
'parentLink' => $links->projects->route,
'cards' => $featuredProjects,
'theme' => 'light',
])
</div>
@include('site.organisms.calloutBar', ['showCalloutBarOrnament' => true])
</div>
@endsection