<li class="nav-item {{ Request::is('admin/dashboard') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_dashboard') }}">
        <i class="fas fa-home"></i>
        <span>{{ __('Dashboard') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/setting/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_setting_general') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Website Settings') }}</span>
    </a>
</li>


<li class="nav-item dd {{ Request::is('admin/translation/*') ? 'active' : '' }}">
    <a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapse_translation" aria-expanded="true" aria-controls="collapse_translation">
        <i class="fas fa-folder"></i>
        <span>{{ __('Translation') }}</span>
    </a>
    <div id="collapse_translation" class="collapse {{ Request::is('admin/translation/*') ? 'show' : '' }}" data-parent="#accordionSidebar">
        <div class="bg-white py-2 collapse-inner rounded">
            <a class="collapse-item" href="{{ route('admin_translation_front_end') }}">{{ __('Front End') }}</a>
            <a class="collapse-item" href="{{ route('admin_translation_back_end') }}">{{ __('Back End') }}</a>
        </div>
    </div>
</li>


<li class="nav-item dd {{ Request::is('admin/post-category/*')||Request::is('admin/post/*') ? 'active' : '' }}">
    <a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapse_blog" aria-expanded="true" aria-controls="collapse_blog">
        <i class="fas fa-folder"></i>
        <span>{{ __('Blog Section') }}</span>
    </a>
    <div id="collapse_blog" class="collapse {{ Request::is('admin/post-category/*')||Request::is('admin/post/*') ? 'show' : '' }}" data-parent="#accordionSidebar">
        <div class="bg-white py-2 collapse-inner rounded">
            <a class="collapse-item" href="{{ route('admin_post_category_index') }}">{{ __('Post Category') }}</a>
            <a class="collapse-item" href="{{ route('admin_post_index') }}">{{ __('Post') }}</a>
        </div>
    </div>
</li>


<li class="nav-item dd {{ Request::is('admin/subscriber/*') ? 'active' : '' }}">
    <a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapse_subscriber" aria-expanded="true" aria-controls="collapse_subscriber">
        <i class="fas fa-folder"></i>
        <span>{{ __('Subscribers') }}</span>
    </a>
    <div id="collapse_subscriber" class="collapse {{ Request::is('admin/subscriber/*') ? 'show' : '' }}" data-parent="#accordionSidebar">
        <div class="bg-white py-2 collapse-inner rounded">
            <a class="collapse-item" href="{{ route('admin_subscriber_index') }}">{{ __('All Subscribers') }}</a>
            <a class="collapse-item" href="{{ route('admin_subscriber_send_message') }}">{{ __('Send Message to All') }}</a>
        </div>
    </div>
</li>

<li class="nav-item dd {{ Request::is('admin/home-page/*') ? 'active' : '' }}">
    <a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapse_home_pages" aria-expanded="true" aria-controls="collapse_home_pages">
        <i class="fas fa-folder"></i>
        <span>{{ __('Home Page Sections') }}</span>
    </a>
    <div id="collapse_home_pages" class="collapse {{ Request::is('admin/home-page/*') ? 'show' : '' }}" data-parent="#accordionSidebar">
        <div class="bg-white py-2 collapse-inner rounded">
            <a class="collapse-item" href="{{ route('admin_home1_page_item_index') }}">{{ __('Home Page 1') }}</a>
            <a class="collapse-item" href="{{ route('admin_home2_page_item_index') }}">{{ __('Home Page 2') }}</a>
            <a class="collapse-item" href="{{ route('admin_home3_page_item_index') }}">{{ __('Home Page 3') }}</a>
        </div>
    </div>
</li>


<li class="nav-item {{ Request::is('admin/other-page/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_other_page_item_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Other Pages') }}</span>
    </a>
</li>


<li class="nav-item {{ Request::is('admin/menu/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_menu_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Menu Manage') }}</span>
    </a>
</li>


<li class="nav-item {{ Request::is('admin/slider/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_slider_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Slider') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/service/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_service_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Service') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/portfolio/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_portfolio_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Portfolio') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/team-member/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_team_member_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Team Members') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/testimonial/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_testimonial_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Testimonial') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/faq/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_faq_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('FAQ') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/pricing-plan/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_pricing_plan_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Pricing Plan') }}</span>
    </a>
</li>

<li class="nav-item {{ Request::is('admin/client/*') ? 'active' : ''; }}">
    <a class="nav-link" href="{{ route('admin_client_index') }}">
        <i class="far fa-caret-square-right"></i>
        <span>{{ __('Clients') }}</span>
    </a>
</li>