This commit is contained in:
Ludovic CANDELLIER
2022-01-19 22:43:32 +01:00
parent 7ae2c4b07c
commit 6ff65eb927
7 changed files with 43 additions and 10 deletions

View File

@@ -18,16 +18,32 @@
'title' => 'Semence',
'class' => 'mb-3',
])
@include('components.form.button', [
'class' => 'btn-success basket semences',
'txt' => 'Ajouter au panier',
])
@include('components.form.button', [
'class' => 'btn-success basket semences',
'txt' => 'Ajouter au panier',
])
@endcomponent
@component('components.card', [
'title' => 'Plant',
'class' => 'mb-3',
])
@include('components.form.button', [
'class' => 'btn-success basket plants',
'txt' => 'Ajouter au panier',
])
@endcomponent
@component('components.card', [
'title' => 'Légume',
'class' => 'mb-3',
])
@include('components.form.button', [
'class' => 'btn-success basket legumes',
'txt' => 'Ajouter au panier',
])
@endcomponent
</div>
</div>
@endsection

View File

@@ -0,0 +1,2 @@
@foreach ($tags as $tag)
@endforeach

View File

@@ -3,9 +3,15 @@
])
@section('content')
@if ($display_by_rows ?? false)
@include('Shop.layout.partials.category_articles_rows')
@else
@include('Shop.layout.partials.category_articles')
@endif
<div class="row">
<div class="col-2">
</div>
<div class="col-10">
@if ($display_by_rows ?? false)
@include('Shop.layout.partials.category_articles_rows')
@else
@include('Shop.layout.partials.category_articles')
@endif
</div>
</div>
@endsection