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.
xshop/resources/views/segments/menu/RecetMenu/RecetMenu.blade.php

46 lines
1.6 KiB
PHTML

5 months ago
<nav id='RecetMenu'>
<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)
5 months ago
<li>
<a href="{{$item->webUrl()}}">
5 months ago
{{$item->title}}
</a>
</li>
@endforeach
<li class="float-end">
3 months ago
<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
3 months ago
@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
5 months ago
</li>
</ul>
</nav>