From: Vincent Vanwaelscappel Date: Wed, 15 Apr 2020 13:50:39 +0000 (+0200) Subject: wip #3593 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6d1c9a5e364b4d93f4c802274873f2e669736236;p=pmi.git wip #3593 --- diff --git a/resources/views/partials/home-products.blade.php b/resources/views/partials/home-products.blade.php index fe6e24d..a407897 100644 --- a/resources/views/partials/home-products.blade.php +++ b/resources/views/partials/home-products.blade.php @@ -1,11 +1,19 @@ +@php + $href='#'; + if(isset($highlight['page'])){ + $href=$nav->getHrefById($highlight['page']); + } +@endphp +
+ href="{{ $href }}">
{{-- Proportional image holder --}}
{{$page->getImageAltByCollection($highlight['image'],$highlight['title'])}} + alt="{{$page->getImageAltByCollection($highlight['image'],$highlight['title'])}}" + class="bgimg"/>

{{ $highlight['title'] }}