File: D:/HostingSpaces/PDeckers/opelkapitan.nl/app/views/layouts/pages/projectGroup.blade.php
@extends('layouts.master')
@section('intro-content')
<div class="full-text content-container">
<h2>{{$data->content->translation->name}}</h2>
{{$data->content->translation->description}}
</div>
@endsection
@section('inner-content')
@include('layouts.partials.projects.groupPockets')
@endsection
@section('editable_content')
@include('layouts.partials.defaultIntro')
@include('layouts.partials.projects.lineNavigation')
<?php
switch($data->content->code_name){
case 'kapitan_53_55':
$thisBackground = '/img/backgrounds/53-55.jpg';
break;
case 'kapitan_56_57':
$thisBackground = '/img/backgrounds/56-57.jpg';
break;
case 'kapitan_58_59':
$thisBackground = '/img/backgrounds/58-59.jpg';
break;
case 'kapitan_60_64':
$thisBackground = '/img/backgrounds/60-64.jpg';
break;
case 'other_1':
$thisBackground = '/img/backgrounds/other-opel.jpg';
break;
case 'other_2':
$thisBackground = '/img/backgrounds/other-brands.jpg';
break;
default:
$thisBackground = '/img/blur-background.jpg';
break;
}
?>
@include('layouts.partials.projects.globalContainer', ['backgroundImage' => $thisBackground])
@endsection
@section('extra-js')
@endsection