change display on categories

This commit is contained in:
Ludovic CANDELLIER
2022-05-31 23:21:04 +02:00
parent 5b74c93b2e
commit e31978b1e3
10 changed files with 297 additions and 5 deletions

View File

@@ -8,7 +8,14 @@
@include('Shop._partials.display_filters')
</div>
<div class="col-6">
<h1 style="font-size: 2em;">{{ $category['name'] }}</h1>
<h1 style="font-size: 1.5em;">
@foreach($breadcrumb ?? [] as $parent)
<a href="{{ route('Shop.Categories.show', ['id' => $parent['id']]) }}" style="text-decoration: none; color: inherit;">{{ $parent['name'] }}</a> /
@endforeach
<span style="font-size: 1.4em;">
{{ $category['name'] }}
</span>
</h1>
<h3 style="font-size: 1.2em;">{!! $category['description'] !!}</h3>
</div>
<div class="col-3">