17 lines
671 B
PHP
17 lines
671 B
PHP
@if (count($breadcrumbs))
|
|
<ol class="breadcrumb justify-content-center w-100 m-0">
|
|
@foreach ($breadcrumbs as $breadcrumb)
|
|
@if ($breadcrumb->url && !$loop->last)
|
|
<li class="breadcrumb-item d-flex">
|
|
<a class="h2 fw-bold m-0 ps-2" href="{{ $breadcrumb->url }}">
|
|
{{ $breadcrumb->title }}
|
|
</a>
|
|
</li>
|
|
@else
|
|
<li class="breadcrumb-item btn-games d-flex align-items-center flex-grow-1 active h2 fw-bold m-0">
|
|
{{ $breadcrumb->title }}
|
|
</li>
|
|
@endif
|
|
@endforeach
|
|
</ol>
|
|
@endif
|