fix on customer auth, fix filters on shelves, refactor for article_nature, add slug
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
<div class="row mb-3">
|
||||
@foreach ($article_natures as $nature)
|
||||
<div class="col text-center @if ($article_nature == $nature)shadow2 @endif">
|
||||
<div class="row btn products" data-id="{{ $nature }}">
|
||||
<div class="col-12">
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature) }}" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-12 green-dark" style="font-size: 2rem;"> {{ $nature }} </div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@foreach ($article_natures as $nature)
|
||||
<div class="btn products" data-id="{{ $nature }}">
|
||||
@if ($article_nature == $nature)
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature, 'normal', 'icon_selection') }}">
|
||||
@else
|
||||
<img src="{{ App\Repositories\Shop\ArticleNatures::getIconBySlug($nature, 'normal', 'icon') }}">
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user