34 lines
2.9 KiB
PHP
34 lines
2.9 KiB
PHP
|
|
<?php
|
||
|
|
$routeName = Route::currentRouteName();
|
||
|
|
?>
|
||
|
|
<div class="main-sidebar">
|
||
|
|
<div class="sidebar-head">
|
||
|
|
<a href=""><img src="{{ asset('themes/tailwind/images/logo-square.svg') }}"></a>
|
||
|
|
</div>
|
||
|
|
<ul class="sidebar-list-navigation">
|
||
|
|
<li class="<?= ($routeName == 'wave.user.dashboard' ? 'active' : ''); ?>">
|
||
|
|
<a href="{{ route('wave.user.dashboard') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-1.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="<?= ($routeName == 'wave.user.general-information' ? 'active' : ''); ?>">
|
||
|
|
<a href="{{ route('wave.user.general-information') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-2.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="<?= ($routeName == 'wave.user.user-management' ? 'active' : ''); ?>">
|
||
|
|
<a href="{{ route('wave.user.user-management') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-3.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="<?= ($routeName == 'wave.user.book-keeping.account-overview' || $routeName == 'wave.user.book-keeping.list' || $routeName == 'wave.user.book-keeping.document-library' || $routeName == 'wave.user.book-keeping.packages' || $routeName == 'wave.user.book-keeping.checkout' || $routeName == 'wave.user.book-keeping.checkout-payment-success' ? 'active' : ''); ?>">
|
||
|
|
<a href="{{ route('wave.user.book-keeping.account-overview') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-4.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="<?= ($routeName == 'wave.user.company-secretary.index' || $routeName == 'wave.user.company-secretary.limited-company' || $routeName == 'wave.user.company-secretary.change-director' || $routeName == 'wave.user.company-secretary.change-particulars' || $routeName == 'wave.user.company-secretary.change-secretary' || $routeName == 'wave.user.company-secretary.resignation' || $routeName == 'wave.user.payment-flow.index' || $routeName == 'wave.user.payment-flow.cart-summary' || $routeName == 'wave.user.payment-flow.payment-success' || $routeName == 'wave.user.company-secretary.checkout' || $routeName == 'wave.user.company-secretary.checkout-payment-success' || $routeName == 'wave.user.company-secretary.checkout-payment-failed' ? 'active' : ''); ?>">
|
||
|
|
<a href="{{ route('wave.user.company-secretary.index') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-5.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="{{ $routeName == 'account-my-account' ? 'active' : '' }}">
|
||
|
|
<a href="{{ route('account-my-account') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-6.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="{{ $routeName == 'wave.user.terms-and-condition' ? 'active' : '' }}">
|
||
|
|
<a href="{{ route('wave.user.terms-and-condition') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-7.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
<li class="{{ $routeName == 'wave.user.privacy-policy' ? 'active' : '' }}">
|
||
|
|
<a href="{{ route('wave.user.privacy-policy') }}"><img src="{{ asset('themes/tailwind/images/user-sidebar-icon-8.png') }}"></a>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|