From: Vincent Vanwaelscappel Date: Tue, 4 Jan 2022 18:06:05 +0000 (+0100) Subject: wip #4914 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5e3f2f0996f15c4855c56d040d2772496be2d419;p=odl.git wip #4914 @0.25 --- diff --git a/resources/views/front/home.blade.php b/resources/views/front/home.blade.php index 71e7f33..f9811eb 100644 --- a/resources/views/front/home.blade.php +++ b/resources/views/front/home.blade.php @@ -1,32 +1,6 @@ @extends('layouts.app') @section('content') - - @php - // TEMPORARY DATA MOCKUP - $illustration = $home->getImageURLbyCollection($home->get('illustration')); - $shortcuts = [ - [ - 'title' => 'Ressources', - 'content' => "Consultez l'ensemble des documents au format PDF", - 'image' => '/storage/104/groupe-209-at-2x.png', - 'link' => '/ressources.html', - ], - [ - 'title' => 'Médiathèque', - 'content' => 'Consultez les médias audio et vidéo', - 'image' => '/storage/105/groupe-211-at-2x.png', - 'link' => '/mediatheque.html', - ], - [ - 'title' => 'Visite guidée', - 'content' => 'Laissez-vous guider dans une lecture thématique', - 'image' => '/storage/106/groupe-221-at-2x.png', - 'link' => '/tour.html', - ], - ]; - @endphp -
@@ -58,7 +32,7 @@ transform transition duration-300" x-show="shown" x-transition.opacity.scale.50.duration.1000ms.delay.100ms - style="@if($illustration)background-image:url({{ $illustration }})@endif"> + style="background-image:url({{ $home->getImageURLbyCollection($home->get('illustration')) }})">