mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.6 KiB
PHTML
46 lines
1.6 KiB
PHTML
<nav id='RecetMenu' class=' live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
|
|
<ul>
|
|
<li>
|
|
<a href="#" id="rect-toggle">
|
|
<i class="ri-menu-line"></i>
|
|
</a>
|
|
</li>
|
|
@foreach(getMenuBySettingItems($data->area_name.'_'.$data->part.'_menu') as $item)
|
|
<li>
|
|
<a href="{{$item->webUrl()}}">
|
|
{{$item->title}}
|
|
</a>
|
|
</li>
|
|
@endforeach
|
|
<li class="float-end">
|
|
<a href="{{ route('client.card') }}" class="d-inline-block px-1 card-link">
|
|
<i class="ri-shopping-bag-2-line"></i>
|
|
<span class="badge bg-danger card-count">
|
|
@if(cardCount() > 0)
|
|
{{cardCount()}}
|
|
@endif
|
|
</span>
|
|
</a>
|
|
|
|
@if(auth('customer')->check())
|
|
<a href="{{route('client.profile')}}" class="d-inline-block px-1 card-link">
|
|
<i class="ri-user-line"></i>
|
|
</a>
|
|
@else
|
|
<a href="{{route('client.sign-in')}}" class="d-inline-block px-1 card-link">
|
|
<i class="ri-user-line"></i>
|
|
</a>
|
|
@endif
|
|
@if(config('app.xlang.active'))
|
|
@foreach(\App\Models\XLang::all() as $lang)
|
|
@if($lang->tag != app()->getLocale())
|
|
<a href="/{{$lang->tag}}" class="d-inline-block px-1">
|
|
{{$lang->emoji}}
|
|
</a>
|
|
@endif
|
|
@endforeach
|
|
@endif
|
|
</li>
|
|
</ul>
|
|
</nav>
|