udpate
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
@props(['items' => []])
|
||||
|
||||
<nav class="page-breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
@foreach($items as $item)
|
||||
@if(!empty($item['active']))
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ $item['label'] }}</li>
|
||||
@else
|
||||
<li class="breadcrumb-item">
|
||||
@if(isset($item['url']))
|
||||
<a href="{{ $item['url'] }}">{{ $item['label'] }}</a>
|
||||
@else
|
||||
{{ $item['label'] }}
|
||||
@endif
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ol>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user