<div class="sidebar-wrapper sidebar-theme">
    <nav id="sidebar">

        <div class="navbar-nav theme-brand flex-row  text-center">
            <div class="nav-logo">
                <div class="nav-item theme-logo">
                    <a href="<?php echo e(route('dashboard')); ?>">
                        <img src="<?php echo e(asset('storage/'.config('settings.logo'))); ?>" alt="logo">
                    </a>
                </div>
            </div>
            <div class="nav-item sidebar-toggle">
                <div class="btn-toggle sidebarCollapse">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-left"><polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline></svg>
                </div>
            </div>
        </div>

        <div class="shadow-bottom"></div>

        <ul class="list-unstyled menu-categories" id="accordionExample">
            <li class="menu" data-active="<?php echo e(route('dashboard')); ?>">
                <a href="<?php echo e(route('dashboard')); ?>" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
                        <span>Dashboard</span>
                    </div>
                </a>
            </li>

            <li class="menu menu-heading">
                <div class="heading">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                    <span>Website</span>
                </div>
            </li>
            
            <li class="menu" data-active="<?php echo e(route('messages.index')); ?>">
                <a href="<?php echo e(route('messages.index')); ?>" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle badge-icon"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg> 
                        <span>Messages</span>
                        <?php if($unread_messages_count > 0): ?>
                            <span class="badge badge-primary sidebar-label notification_badge">
                                <?php echo e($unread_messages_count > 99 ? '+99' : $unread_messages_count); ?>

                            </span>
                        <?php endif; ?>
                    </div>
                </a>
            </li>

            <li class="menu">
                <a href="#pages" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
						<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg>
                        <span>Pages</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="pages" data-bs-parent="#accordionExample">
                    <li data-active="<?php echo e(route('pages.index')); ?>">
                        <a href="<?php echo e(route('pages.index')); ?>"> List </a>
                    </li>
                    <li data-active="<?php echo e(route('sections.index')); ?>">
                        <a href="<?php echo e(route('sections.index')); ?>"> Sections </a>
                    </li>                          
                </ul>
            </li>

            <li class="menu">
                <a href="#slider" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-youtube"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg>
                        <span>Slider</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="slider" data-bs-parent="#accordionExample">
                    <li data-active="<?php echo e(route('slider.index')); ?>">
                        <a href="<?php echo e(route('slider.index')); ?>"> List </a>
                    </li>
                    <li data-active="<?php echo e(route('slider.create')); ?>">
                        <a href="<?php echo e(route('slider.create')); ?>"> Add New </a>
                    </li>                          
                </ul>
            </li>

            <li class="menu">
                <a href="#parteners" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-command"><path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path></svg>
                        <span>Parteners</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="parteners" data-bs-parent="#accordionExample">
                    <li data-active="<?php echo e(route('parteners.index')); ?>">
                        <a href="<?php echo e(route('parteners.index')); ?>"> List </a>
                    </li>
                    <li data-active="<?php echo e(route('parteners.create')); ?>">
                        <a href="<?php echo e(route('parteners.create')); ?>"> Add New </a>
                    </li>                          
                </ul>
            </li>

            <li class="menu">
                <a href="#fishes" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-list"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg>
                        <span>Fishes</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="fishes" data-bs-parent="#accordionExample">
                    <li>
                        <a href="#FishTypes" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed"> 
                            Types
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg> 
                        </a>
                        <ul class="collapse list-unstyled sub-submenu" id="FishTypes" data-bs-parent="#pages"> 
                            <li data-active="<?php echo e(route('fish-types.index')); ?>">
                                <a href="<?php echo e(route('fish-types.index')); ?>"> List </a>
                            </li>
                            <li data-active="<?php echo e(route('fish-types.create')); ?>">
                                <a href="<?php echo e(route('fish-types.create')); ?>"> Add New </a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#FishData" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed"> 
                            Fish 
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg> 
                        </a>
                        <ul class="collapse list-unstyled sub-submenu" id="FishData" data-bs-parent="#pages"> 
                            <li data-active="<?php echo e(route('fish.index')); ?>">
                                <a href="<?php echo e(route('fish.index')); ?>"> List </a>
                            </li>
                            <li data-active="<?php echo e(route('fish.create')); ?>">
                                <a href="<?php echo e(route('fish.create')); ?>"> Add New </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </li>

            <li class="menu">
                <a href="#products" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
						<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>
                        <span>Products</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="products" data-bs-parent="#accordionExample">
                    <li data-active="<?php echo e(route('products.index')); ?>">
                        <a href="<?php echo e(route('products.index')); ?>"> List </a>
                    </li>
                    <li data-active="<?php echo e(route('products.create')); ?>">
                        <a href="<?php echo e(route('products.create')); ?>"> Add New </a>
                    </li>                          
                </ul>
            </li>

            <?php if(Auth::user()->type == 'superadmin'): ?>
            <li class="menu">
                <a href="#settings" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
                    <div class="">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>
                        <span>Setting</span>
                    </div>
                    <div>
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                    </div>
                </a>
                <ul class="collapse submenu list-unstyled" id="settings" data-bs-parent="#accordionExample">
                    <li data-active="<?php echo e(route('setting.edit')); ?>">
                        <a href="<?php echo e(route('setting.edit')); ?>"> Website Setting </a>
                    </li>  
					<li data-active="<?php echo e(route('setting.new_address')); ?>">
                        <a href="<?php echo e(route('setting.new_address')); ?>"> Second Address </a>
                    </li>   
                </ul>
            </li>
            <?php endif; ?>

            <li class="menu menu-heading">
                <div class="heading">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19" y2="12"></line></svg>
                    <span>Dashboard</span>
                </div>
            </li>

            <?php if(Auth::user()->type == 'superadmin'): ?>
                <li class="menu">
                    <a href="#admins" data-bs-toggle="collapse" aria-expanded="false" class="dropdown-toggle collapsed">
                        <div class="">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
                            <span>Admins</span>
                        </div>
                        <div>
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                        </div>
                    </a>
                    <ul class="collapse submenu list-unstyled" id="admins" data-bs-parent="#accordionExample">
                        <li data-active="<?php echo e(route('admins.index')); ?>">
                            <a href="<?php echo e(route('admins.index')); ?>"> List</a>
                        </li>
                        <li data-active="<?php echo e(route('admins.create')); ?>">
                            <a href="<?php echo e(route('admins.create')); ?>"> Add New</a>
                        </li>
                        <li data-active="<?php echo e(route('admins.bonned_list')); ?>">
                            <a href="<?php echo e(route('admins.bonned_list')); ?>"> Inactive Admins</a>
                        </li>
                        <li data-active="<?php echo e(route('admins.deleted_list')); ?>">
                            <a href="<?php echo e(route('admins.deleted_list')); ?>"> Deleted Admins</a>
                        </li>
                    </ul>
                </li>

                <li class="menu" data-active="<?php echo e(route('activity_logs')); ?>">
                    <a href="<?php echo e(route('activity_logs')); ?>" class="dropdown-toggle">
                        <div class="">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
                            <span>Activity Logs</span>
                        </div>
                    </a>
                </li>
            <?php endif; ?>
        
        </ul>
        
    </nav>
</div><?php /**PATH /home/smart/public_html/resources/views/dashboard/layouts/sidebar.blade.php ENDPATH**/ ?>