23 lines
758 B
PHP
23 lines
758 B
PHP
{{--
|
|
Shared page breadcrumb.
|
|
|
|
Props:
|
|
- string $title Heading shown in the breadcrumb band.
|
|
- string $current Label for the active (last) breadcrumb item. Defaults to $title.
|
|
- string $background Path (relative to /assets) used as the band background image.
|
|
--}}
|
|
@php
|
|
$current = $current ?? $title;
|
|
$background = $background ?? 'assets/img/breadcrumb/01.jpg';
|
|
@endphp
|
|
|
|
<div class="site-breadcrumb" style="background: url({{ asset($background) }})">
|
|
<div class="container">
|
|
<h2 class="breadcrumb-title">{{ $title }}</h2>
|
|
<ul class="breadcrumb-menu">
|
|
<li><a href="{{ route('index') }}">صفحه اصلی</a></li>
|
|
<li class="active">{{ $current }}</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|