fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@if ($shelve['articles'])
|
||||
<div class="mb-3 bg-green-light">
|
||||
<div class="mb-3 bg-green-ultra-dark rounded-lg">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<h1 class="green p-2" style="font-size: 2em;">{{ $shelve['name'] }}</h1>
|
||||
<h1 class="p-2" style="font-size: 2em;">{{ $shelve['name'] }}</h1>
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
<a class="mt-2 btn btn-green-dark" href="{{ route('Shop.Categories.show', ['id' => $shelve['id']]) }}">Découvrir la sélection</a>
|
||||
@@ -13,8 +13,8 @@
|
||||
<div class="col-11 mx-auto shelve_slider_{{ $shelve['id'] }} slider">
|
||||
@foreach ($shelve['articles'] as $name => $article)
|
||||
<div class="text-center pr-2 pl-2">
|
||||
<a class="green-dark" href="{{ route('Shop.Articles.show', ['id' => $article['id']]) }}">
|
||||
<img data-lazy="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="d-block w-100" alt="{{ $name }}"/>
|
||||
<a class="green-fluo" href="{{ route('Shop.Articles.show', ['id' => $article['id']]) }}">
|
||||
<img data-lazy="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="d-block w-100 rounded" alt="{{ $name }}"/>
|
||||
{{ $name }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user