Current File : //home/tradevaly/new.tradevaly.com.bd/resources/views/user/layouts/sidebar.blade.php |
<div class="sidebar" data-color="rose" data-background-color="">
<div class="logo text-center ">
<a href="{{url('b2b/dashboard')}}" class="simple-text logo-normal font-weight-bold">
Trade Valy
</a>
</div>
<div class="sidebar-wrapper">
<div class="user">
<div class="photo">
<img src="https://www.pngplay.com/wp-content/uploads/12/User-Avatar-Profile-Transparent-Clip-Art-Background.png" />
</div>
<div class="user-info">
<a data-toggle="collapse" href="#collapseExample" class="username">
<span>
{{Auth::user()->name}}
<b class="caret"></b>
</span>
</a>
<div class="collapse" id="collapseExample">
<ul class="nav">
<li class="nav-item {{ request()->is('user/profile') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/profile')}}">
<span class="sidebar-mini"> <i class="material-icons">noise_control_off</i> </span>
<span class="sidebar-normal"> My Profile </span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{url('user/reset_password')}}">
<span class="sidebar-mini"> <i class="material-icons">noise_control_off</i> </span>
<span class="sidebar-normal"> Change Password</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<ul class="nav">
<li class="nav-item {{ request()->is('user/dashboard') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/dashboard')}}">
<i class="material-icons">home</i>
<p> Dashboard </p>
</a>
</li>
<li class="nav-item {{ request()->is('user/company/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/company/setting')}}">
<i class="material-icons">list</i>
<p> Company Setting </p>
</a>
</li>
<li class="nav-item {{ request()->is('user/pdf/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/pdf/index')}}">
<i class="material-icons">list</i>
<p> Company Brochures </p>
</a>
</li>
<li class="nav-item {{ request()->is('user/pdf/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/pdf/index')}}">
<i class="material-icons">list</i>
<p> Company award </p>
</a>
</li>
<li class="nav-item {{ request()->is('user/certificate/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/certificate/index')}}">
<i class="material-icons">list</i>
<p> Company Certificates </p>
</a>
</li>
@if(Auth::user()->type == 'buyer')
<li class="nav-item {{ request()->is('user/offer/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/offer/index')}}">
<i class="material-icons">list</i>
<p> Buy Offer </p>
</a>
</li>
@else
<li class="nav-item {{ request()->is('user/products/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/products/index')}}">
<i class="material-icons">list</i>
<p> My Products </p>
</a>
</li>
@if(Auth::guard('web')->user()->verified == 1)
<li class="nav-item {{ request()->is('user/products/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/products/index')}}">
<i class="fas fa-ads"></i>
<p> Feautured Products </p>
</a>
</li>
@endif
@endif
<li class="nav-item {{ request()->is('user/inbox/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/inbox/index')}}">
<i class="material-icons">person</i>
<p> Messages </p>
</a>
</li>
<li class="nav-item {{ request()->is('user/subscription/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/subscription/index')}}">
<i class="material-icons">history_edu</i>
<p>Subscription</p>
</a>
</li>
<li class="nav-item {{ request()->is('user/subscription/*') ? 'active' : '' }} ">
<a class="nav-link" href="{{url('user/subscription/index')}}">
<i class="material-icons">history_edu</i>
<p>Subscription</p>
</a>
</li>
</ul>
</div>
</div>