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/SideMenu/SideMenu.blade.php

30 lines
965 B
PHTML

<nav id='SideMenu'>
5 months ago
<div class="text-center py-3" id="side-menu-logo">
<a href="{{url('/')}}">
<img src="{{asset('upload/images/logo.svg')}}" alt="">
{{-- <i class="ri-apple-line "></i>--}}
</a>
</div>
<div id="side-menu-btn">
<i class="ri-menu-line"></i>
</div>
<ul>
@foreach(getMenuBySetting($data->area->name.'_'.$data->part.'_menu')->items as $item)
<li>
@if($item->meta == null)
<a href="{{$item->dest->webUrl()}}">
{{$item->title}}
</a>
@else
<a href="{{$item->meta}}">
{{$item->title}}
</a>
@endif
</li>
@endforeach
</ul>
<div class="p-2" id="side-menu-content">
{!! getSetting($data->area->name.'_'.$data->part.'_text') !!}
</div>
</nav>