<aside id="leftsidebar" class="sidebar">
    <!-- User Info -->
    <div class="user-info">


    </div>
    <!-- #User Info -->
    <!-- Menu -->
    <div class="menu">
        <ul class="list">

            <style type="text/css">
                .size {
                    font-size: 18px;
                }
            </style>
            <!-- -------------------------------------------------------------------------- -->

            <li class="header">MAIN NAVIGATION</li>


            <li class="{{ Request::is('admin/dashboard*') ? 'active' : '' }}">
                <a href="{{ route('admin.dashboard') }}">
                    <i class="material-icons">dashboard</i>
                    <span>Tableau de bord</span>
                </a>
            </li>


            <!-- -------------------------------------------------------------------------- -->
            <li class="{{ Request::is(['admin/categoriePost*','admin/tag*','admin/post*','admin/pending/post']) ? 'active' : '' }}">
                <a href="javascript:void(0);" class="menu-toggle">
                    <i class="material-icons">widgets</i>
                    <span>Blogs</span>
                </a>

                <ul class="ml-menu">

                    <li class="{{ Request::is('admin/categoriePost*') ? 'active' : '' }}">
                        <a href="/admin/categoriePost" class="waves-effect waves-block">
                            <i class="material-icons">category</i>
                            <span>Categories Posts</span>
                        </a>
                    </li>

                    <li class="{{ Request::is('admin/tag*') ? 'active' : '' }}">
                        <a href="/admin/tag" class="waves-effect waves-block">
                            <i class="material-icons">label</i>
                            <span>Tags Posts</span>
                        </a>
                    </li>

                    <li class="{{ Request::is('admin/post*') ? 'active' : '' }}">
                        <a href="/admin/post" class="waves-effect waves-block">
                            <i class="material-icons">description</i>
                            <span>Posts</span>
                        </a>
                    </li>

                    <li class="{{ Request::is('admin/pending/post') ? 'active' : '' }}">
                        <a href="/admin/pending/post" class="waves-effect waves-block">
                            <i class="material-icons">library_books</i>
                            <span>Pending Posts</span>
                        </a>
                    </li>


                </ul>
            </li>

            <li class="header">Paramètres</li>
            <!-- -------------------------------------------------------------------------------------------- -->

            <li class="{{ Request::is(['admin/comptes*','admin/profile']) ? 'active' : '' }}">
                <a href="javascript:void(0);" class="menu-toggle">
                    <i class="material-icons">device_hub</i>
                    <span>Admin</span>
                </a>
                <ul class="ml-menu">

                    <li class="{{ Request::is('admin/comptes*') ? 'active' : '' }}">
                        <a href="{{ route('admin.comptes.index') }}">
                            <i class="material-icons size">group</i>
                            <span>Admin manager</span>
                        </a>
                    </li>

                    <li class="{{ Request::is('admin/profile') ? 'active' : '' }}">
                        <a href="{{ route('admin.profile') }}">
                            <i class="material-icons size">account_circle</i>
                            <span>Profil</span>
                        </a>
                    </li>

                </ul>
            </li>

            <!-- ===============================end Admin================================= -->
         

            <li class="{{ Request::is('admin/settings*') ? 'active' : '' }}">
                <a href="{{ route('admin.settings') }}">
                    <i class="material-icons">settings_applications</i>
                    <span>Settings</span>
                </a>
            </li>

            <li class="{{ Request::is('admin/subscribe*') ? 'active' : '' }}">
                <a href="{{ route('admin.subscribe') }}">
                    <i class="material-icons">message</i>
                    <span>Subscribes</span>
                </a>
            </li>





        </ul>
    </div>
    <!-- #Menu -->
    <!-- Footer -->
    <div class="legal">
        <div class="copyright">
            &copy; 2020 <a href="javascript:void(0);">TaillisLabs.</a>.
        </div>
        <div class="version">
            <b>Version: </b> 1.0.0
        </div>
    </div>
    <!-- #Footer -->
</aside>