File: D:/HostingSpaces/SBogers10/boldt.komma.pro/resources/views/site/components/projectCards.blade.php
<div class="o-project-cards @if($page->code_name) home @endif">
<h2>{{ $page->code_name != 'home' ? __('site/global.some').' '.strtolower($links->projects->name) : $links->projects->name }}</h2>
<div class="c-project-cards">
@foreach($cardProjects as $project)
@include('site.components.card', [
'cardImage' => count($project->images) > 0 ? $project->images[0]->medium_image_url : null,
'cardTitle' => $project->translation->name,
'cardLink' => $links->projects->route.'/'.$project->translation->slug,
'cardButtonText' => 'Bekijk realisatie',
'clickable' => true
])
@endforeach
{{-- See all project --}}
{{-- @if($page->code_name == 'home')--}}
{{-- <a class="c-card c-card--long" href="{{$links->projects->route}}">--}}
{{-- <div class="c-card__image" style="background-image: url('img/projectcard_bg.svg')"></div>--}}
{{-- <h3 class="c-card__title">--}}
{{-- @lang('site/projects.view_all')--}}
{{-- </h3>--}}
{{-- @include('site.components.icons.longarrow')--}}
{{-- </a>--}}
{{-- @endif--}}
</div>
</div>