<aside class="main-sidebar">
    <section class="sidebar">
        <ul class="sidebar-menu">
            <li class="header">Menu</li>
            <li @if(Request::is('admin')) class="active" @endif>
                <a href="{{ route('backend.index') }}">
                    <i class="fa fa-pie-chart"></i> <span>Tableau de bord</span>
                </a>
            </li>
            <li @if(Request::is('admin/brands*')) class="active" @endif>
                <a href="{{ route('backend.brands.index') }}"><i class="fa fa-table"></i> <span>Marques</span></a>
            </li>
            <li @if(Request::is('admin/companies*')) class="active" @endif>
                <a href="{{ route('backend.companies.index') }}"><i class="fa fa-building" aria-hidden="true"></i> <span>Entreprises</span></a>
            </li>
            <li class="treeview menu-open @if(Request::is('admin/categories*') || Request::is('admin/attributes*')) active @endif">
                <a href="#">
                    <i class="fa fa-list" aria-hidden="true"></i><span>Catégories</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="{{ route('backend.categories.index') }}"><i class="fa fa-sitemap" aria-hidden="true"></i> Catégories</a></li>
                    <li><a href="{{ route('backend.attributes.index') }}"><i class="fa fa-table" aria-hidden="true"></i> Attributs</a></li>

                </ul>
            </li>
            
            <li class="treeview menu-open @if(Request::is('admin/products*')) active @endif">
                <a href="{{ route('backend.products.index') }}">
                    <i class="fa fa-cubes" aria-hidden="true"></i> <span>Produits</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="{{ route('backend.products.index') }}"><i class="fa fa-cubes" aria-hidden="true"></i> Produits</a></li>
                    <li><a href="{{ route('backend.products.import.index') }}"><i class="fa fa-upload" aria-hidden="true"></i> Importation</a></li>
                </ul>
            </li>
            <li @if(Request::is('admin/projects*')) class="active" @endif>
                <a href="{{ route('backend.projects.index') }}"><i class="fa fa-list"></i> <span>Projets</span></a>
            </li>
            <li @if(Request::is('admin/salons*')) class="active" @endif>
                <a href="{{ route('backend.salons.index') }}"><i class="fa fa-calendar" aria-hidden="true"></i> <span>Salons</span></a>
            </li>
            <li @if(Request::is('admin/trends*')) class="active" @endif>
                <a href="{{ route('backend.trends.index') }}"><i class="fa fa-newspaper-o" aria-hidden="true"></i> <span>News & Trends</span></a>
            </li>
            
            <li @if(Request::is('admin/inscriptions*')) class="active" @endif>
                <a href="{{ route('backend.inscriptions.index') }}"><i class="fa fa-file-text-o" aria-hidden="true"></i> <span>Inscriptions</span></a>
            </li>
            <li @if(Request::is('admin/sliders*')) class="active" @endif>
                <a href="{{ route('backend.sliders.index') }}"><i class="fa fa-picture-o" aria-hidden="true"></i> <span>Slider</span></a>
            </li>

            <li class="treeview menu-open @if(Request::is('admin/configuration*')) active @endif">
                <a href="{{ route('backend.products.index') }}">
                    <i class="fa fa-cogs" aria-hidden="true"></i> <span>Configuration</span>
                    <span class="pull-right-container">
                        <i class="fa fa-angle-left pull-right"></i>
                    </span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="{{ route('backend.users.index') }}"><i class="fa fa-users" aria-hidden="true"></i> Gestion des utilisateurs</a></li>
                    <li><a href="{{ route('backend.secteur_activites.index') }}"><i class="fa fa-list" aria-hidden="true"></i> Secteurs d'activité</a></li>
                    <li><a href="{{ route('backend.nature_activites.index') }}"><i class="fa fa-list" aria-hidden="true"></i> Natures d'activité</a></li>
                </ul>
            </li>

        </ul>
    </section>
</aside>