17 lines
568 B
PHP
17 lines
568 B
PHP
@if (count($breadcrumbs))
|
|
<ol class="breadcrumb flex-nowrap border-0 w-fit p-0 m-0">
|
|
@foreach ($breadcrumbs as $breadcrumb)
|
|
@if ($breadcrumb->url && !$loop->last)
|
|
<li class="breadcrumb-item d-flex h2 fw-bold m-0">
|
|
<a class="text-decoration-none text-secondary" href="{{ $breadcrumb->url }}">
|
|
{{ $breadcrumb->title }}
|
|
</a>
|
|
</li>
|
|
@else
|
|
<li class="breadcrumb-item d-flex align-items-center flex-grow-1 text-dark h2 fw-bold active m-0">
|
|
{{ $breadcrumb->title }}
|
|
</li>
|
|
@endif
|
|
@endforeach
|
|
</ol>
|
|
@endif
|