File: /home/armgroup/libs/storage/framework/views/daa46824cf74b3f3ee7685735902e077fadcb480.php
<?php $current_route = \Illuminate\Support\Facades\Route::currentRouteName(); ?>
<div class="card">
<div class="card-header">
<a href="<?php echo e(route('account.index')); ?>" class="text-secondary">
<img src="<?php echo e(auth()->user()->avatar); ?>" alt="Avatar"
width="50" height="50" style="border-radius: 50%;">
<b class="ml-2"><?php echo e(auth()->user()->name); ?></b>
</a>
</div>
<ul class="list-group list-group-flush">
<a href="<?php echo e(route('account.user.edit')); ?>" class="text-dark">
<li class="list-group-item <?php echo e($current_route == 'account.user.edit' ? 'active' : ''); ?>">
<span class="fa fa-user"></span> <?php echo e(__('Personal information')); ?>
</li>
</a>
<a href="<?php echo e(route('account.mobile.change')); ?>" class="text-dark">
<li class="list-group-item <?php echo e($current_route == 'account.mobile.change' ? 'active' : ''); ?>">
<span class="fa fa-mobile-alt"></span> <?php echo e(__('Change Mobile')); ?>
</li>
</a>
<a href="<?php echo e(route('account.password.edit')); ?>" class="text-dark">
<li class="list-group-item <?php echo e($current_route == 'account.password.edit' ? 'active' : ''); ?>">
<span class="fa fa-lock"></span> <?php echo e(__('Change Password')); ?>
</li>
</a>
<a href="<?php echo e(route('account.orders.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.orders.index', 'account.orders.show']) ? 'active' : ''); ?>">
<span class="fa fa-shopping-bag"></span> <?php echo e(__('Orders')); ?>
</li>
</a>
<a href="<?php echo e(route('account.wallets.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.wallets.index', 'account.wallets.show', 'account.wallets.create']) ? 'active' : ''); ?>">
<span class="fa fa-wallet"></span> <?php echo e(__('Wallet')); ?>
</li>
</a>
<a href="<?php echo e(route('account.points.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.points.index', 'account.points.show', 'account.points.show-exchange']) ? 'active' : ''); ?>">
<span class="fa fa-star"></span> <?php echo e(__('Points')); ?>
</li>
</a>
<a href="<?php echo e(route('account.addresses.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.addresses.index', 'account.addresses.create', 'account.addresses.edit']) ? 'active' : ''); ?>">
<span class="fa fa-map-marker"></span> <?php echo e(__('Addresses')); ?>
</li>
</a>
<a href="<?php echo e(route('account.tickets.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.tickets.index', 'account.tickets.create', 'account.tickets.edit']) ? 'active' : ''); ?>">
<span class="fa fa-ticket-alt"></span> <?php echo e(__('Tickets')); ?>
</li>
</a>
<a href="<?php echo e(route('account.comments.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.comments.index', 'account.comments.show']) ? 'active' : ''); ?>">
<span class="fa fa-comments"></span> <?php echo e(__('Comments')); ?>
</li>
</a>
<a href="<?php echo e(route('account.favorites.index')); ?>" class="text-dark">
<li class="list-group-item <?php echo e(in_array($current_route, ['account.favorites.index']) ? 'active' : ''); ?>">
<span class="fa fa-heart"></span> <?php echo e(__('Favorites')); ?>
</li>
</a>
<a href="<?php echo e(route('logout')); ?>" class="text-dark" onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
<li class="list-group-item">
<span class="fa fa-sign-out-alt"></span> <?php echo e(__('Logout')); ?>
</li>
</a>
</ul>
</div>
<?php /**PATH C:\xampp\armshop\resources\views/account/sidebar.blade.php ENDPATH**/ ?>