
<div class="sidemenu">
    <img src="{{url('')}}/assets/web/images/top-dividar2.svg" alt="" class="dividar w-100">
    <div class="author-wrapper">
        <div class="avatar">
            <img src="{{asset($user->photo)}}" alt="">
        </div>
        <h6 class="cr-blue"> {{__('web.hello')}} {{$user->name}} </h6>
        <div class="text"> {{$user->phone}} </div>
    </div>
    <ul class="links">
        <li> <a href="{{route('web.order')}}" class="lnk {{ request()->route()->getName() == 'web.order'  ? 'active' : ''}}"> <span class="icon "> <i class="far fa-bags-shopping"></i> </span> <span class="txt"> {{__('web.orders')}} </span> </a> </li>
        <li> <a href="{{route('web.refund')}}" class="lnk {{ request()->route()->getName() == 'web.refund'  ? 'active' : ''}}"> <span class="icon "> <i class="far fa-arrows-repeat"></i> </span> <span class="txt"> {{__('web.refund')}} </span> </a> </li>
        <li> <a href="{{route('web.card')}}" class="lnk {{ request()->route()->getName() == 'web.card'  ? 'active' : ''}}"> <span class="icon "> <i class="far fa-credit-card"></i> </span> <span class="txt"> {{__('web.card')}} </span> </a> </li>
        <li> <a href="{{route('address.index')}}" class="lnk {{ request()->route()->getName() == 'address.index'  ? 'active' : ''}}"> <span class="icon "> <i class="far fa-map-marker"></i> </span> <span class="txt"> {{__('web.all_addresses')}} </span> </a> </li>
        <li> <a href="{{route('web.faq')}}" class="lnk"> <span class="icon"> <i class="far fa-question-circle"></i> </span> <span class="txt"> {{__('web.faqs')}} </span> </a> </li>
        <li> <a href="{{route('web.profile')}}" class="lnk {{ request()->route()->getName() == 'web.profile'  ? 'active' : ''}}"> <span class="icon "> <i class="far fa-user"></i> </span> <span class="txt"> {{__('web.my_account')}} </span> </a> </li>
        <li> <a href="{{route('web.logout')}}" class="lnk sign-out"> <span class="icon"> <i class="far fa-sign-out"></i> </span> <span class="txt"> {{__('web.logout')}} </span> </a> </li>
    </ul>
</div>
