<div class="main-sidebar sidebar-style-2">
        <aside id="sidebar-wrapper">
          <div class="sidebar-brand">
            <a href="{{ route('index')}}"> <img alt="image" src="{{asset('backend/assets/img/logo.png')}}" class="header-logo" />
                <span
                class="logo-name"><p>Books by Atique</p></span>
            </a>


          </div>
          <ul class="sidebar-menu">
            <li class="menu-header">Main</li>
            <li class="dropdown {{ request()->routeIs('dashboard') ? 'active' : '' }}">
                <a href="{{ route('dashboard') }}" class="nav-link">
                    <i data-feather="monitor"></i>
                    <span>Dashboard</span>
                </a>
            </li>

            {{-- slider --}}
            <li class="dropdown {{ request()->routeIs('sliders.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="shopping-bag"></i>
                    <span>Sliders</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('sliders.index') ? 'active' : '' }}"
                        href="{{ route('sliders.index') }}">
                            Sliders List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('sliders.create') ? 'active' : '' }}"
                        href="{{ route('sliders.create') }}">
                            Create Sliders
                        </a>
                    </li>
                </ul>
            </li>

            {{-- catagory books --}}
            <li class="dropdown {{ request()->routeIs('catagory.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="command"></i>
                    <span>Catagory</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('catagory.index') ? 'active' : '' }}"
                        href="{{ route('catagory.index') }}">
                            Catagory List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('catagory.create') ? 'active' : '' }}"
                        href="{{ route('catagory.create') }}">
                            Create Catagory
                        </a>
                    </li>
                </ul>
            </li>
            {{--features Children’s Science --}}
            <li class="dropdown {{ request()->routeIs('features.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="briefcase"></i>
                    <span>Children’s Science</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('features.index') ? 'active' : '' }}"
                        href="{{ route('features.index') }}">
                            Children’s Science List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('features.create') ? 'active' : '' }}"
                        href="{{ route('features.create') }}">
                            Create Children’s Science
                        </a>
                    </li>
                </ul>
            </li>

            {{--popular Kids’ Bedtime --}}
             <li class="dropdown {{ request()->routeIs('popular.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="moon"></i>
                    <span>Kids’ Bedtime</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('popular.index') ? 'active' : '' }}"
                        href="{{ route('popular.index') }}">
                            Kids’ Bedtime List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('popular.create') ? 'active' : '' }}"
                        href="{{ route('popular.create') }}">
                            Create Kids’ Bedtime
                        </a>
                    </li>
                </ul>
            </li>
            {{--Book Offers Children’s Early Learning  --}}
            <li class="dropdown {{ request()->routeIs('book-offers.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="star"></i>
                    <span>Early Learning</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('book-offers.index') ? 'active' : '' }}"
                        href="{{ route('book-offers.index') }}">
                           Early Learning List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('book-offers.create') ? 'active' : '' }}"
                        href="{{ route('book-offers.create') }}">
                            Create Early Learning
                        </a>
                    </li>
                </ul>
            </li>

            <li class="dropdown {{ request()->routeIs('memoirs-personals.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="book-open"></i>
                    <span>Memoirs Personals </span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('memoirs-personals.index') ? 'active' : '' }}"
                        href="{{ route('memoirs-personals.index') }}">
                            Memoirs Personals List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('memoirs-personals.create') ? 'active' : '' }}"
                        href="{{ route('memoirs-personals.create') }}">
                            Create  Memoirs Personals
                        </a>
                    </li>
                </ul>
            </li>

            {{--latest-articles Inspirational Fiction  --}}
            <li class="dropdown {{ request()->routeIs('latest-articles.*') ? 'active' : '' }}">
                <a href="#" class="menu-toggle nav-link has-dropdown">
                    <i data-feather="book-open"></i>
                    <span>Inspirational Fiction</span>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a class="nav-link {{ request()->routeIs('latest-articles.index') ? 'active' : '' }}"
                        href="{{ route('latest-articles.index') }}">
                            Inspirational Fiction List
                        </a>
                    </li>

                    <li>
                        <a class="nav-link {{ request()->routeIs('latest-articles.create') ? 'active' : '' }}"
                        href="{{ route('latest-articles.create') }}">
                            Create Inspirational Fiction
                        </a>
                    </li>
                </ul>
            </li>


          <li class="{{ request()->routeIs('bestsellers.edit') ? 'active' : '' }}">
                <a href="{{ route('bestsellers.edit', 1) }}" class="nav-link">
                    <i data-feather="copy"></i>
                    <span>Best Sellers</span>
                </a>
            </li>
            <li class="{{ request()->routeIs('about.edit') ? 'active' : '' }}">
                <a href="{{ route('about.edit', 1) }}" class="nav-link">
                    <i data-feather="user"></i>
                    <span>About Us</span>
                </a>
            </li>

              <li class="{{ request()->routeIs('settings.edit') ? 'active' : '' }}">
                    <a href="{{ route('settings.edit', 1) }}" class="nav-link">
                        <i data-feather="layout"></i>
                        <span>Settings</span>
                    </a>
                </li>

            <li class="{{ request()->routeIs('contacts.index') ? 'active' : '' }}">
                <a href="{{ route('contacts.index') }}" class="nav-link">
                    <i data-feather="inbox"></i>
                    <span>Contact</span>
                </a>
            </li>
            <li class="{{ request()->routeIs('admin.dashboard') ? 'active' : '' }}">
                <a href="{{ route('admin.dashboard') }}" class="nav-link">
                    <i data-feather="inbox"></i>
                    <span>Visitors</span>
                </a>
            </li>


          </ul>
        </aside>
      </div>
