{{-- ═══════════════════════════════════════
     NORMAL ADMIN SIDEBAR — Mantis SVG Icons
     ═══════════════════════════════════════ --}}

{{-- ── কন্টেন্ট ── --}}
<li class="pc-item pc-caption">
    <label>কন্টেন্ট</label>
    <svg class="pc-icon"><use xlink:href="#custom-document"></use></svg>
</li>

<li class="pc-item">
    <a href="{{ route('admin.post.format') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-add-outline"></use></svg></span>
        <span class="pc-mtext">{{ __('Add Post') }}</span>
    </a>
</li>

@if(Auth::guard('admin')->user()->sectionCheck('posts'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-document-text"></use></svg></span>
        <span class="pc-mtext">{{ __('Posts') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('post.index') }}">{{ __('All Posts') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('slider.index') }}">{{ __('Slider Posts') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('feature.index') }}">{{ __('Featured Posts') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('breaking.index') }}">{{ __('Breaking News') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('pending.index') }}">{{ __('Pending Posts') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('schedule_post'))
<li class="pc-item">
    <a href="{{ route('schedule.index') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-calendar-1"></use></svg></span>
        <span class="pc-mtext">{{ __('Schedule Post') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('drafts'))
<li class="pc-item">
    <a href="{{ route('draft.index') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-note-1"></use></svg></span>
        <span class="pc-mtext">{{ __('Drafts') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('pages'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-document-filter"></use></svg></span>
        <span class="pc-mtext">{{ __('Pages') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.page.create') }}">{{ __('Add Page') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.page.index') }}">{{ __('Pages') }}</a></li>
    </ul>
</li>
@endif

{{-- ── সংগঠন ── --}}
<li class="pc-item pc-caption">
    <label>সংগঠন</label>
    <svg class="pc-icon"><use xlink:href="#custom-fatrows"></use></svg>
</li>

@if(Auth::guard('admin')->user()->sectionCheck('categories'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-row-vertical"></use></svg></span>
        <span class="pc-mtext">{{ __('Categories') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('categories.index') }}">{{ __('Categories') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('subcategories.index') }}">{{ __('SubCategories') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('categories'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-flag"></use></svg></span>
        <span class="pc-mtext">{{ __('Location') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('division.index') }}">{{ __('Divisions') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('district.index') }}">{{ __('Districts') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('upazila.index') }}">{{ __('Upazilas') }}</a></li>
    </ul>
</li>
@endif

{{-- ── মিডিয়া ও এনগেজমেন্ট ── --}}
<li class="pc-item pc-caption">
    <label>মিডিয়া ও এনগেজমেন্ট</label>
    <svg class="pc-icon"><use xlink:href="#custom-level"></use></svg>
</li>

@if(Auth::guard('admin')->user()->sectionCheck('image_gallery'))
<li class="pc-item">
    <a href="{{ route('image.album.index') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-image"></use></svg></span>
        <span class="pc-mtext">{{ __('Images Gallery') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('polls'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-presentation-chart"></use></svg></span>
        <span class="pc-mtext">{{ __('Polls') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('addPolls.create') }}">{{ __('Add Polls') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('addPolls.index') }}">{{ __('Polls') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('rss_feeds'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-link"></use></svg></span>
        <span class="pc-mtext">{{ __('Rss Feeds') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('rss.create') }}">{{ __('Import Rss Feeds') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('rss.index') }}">{{ __('Rss Feeds') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('widgets'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-cpu-charge"></use></svg></span>
        <span class="pc-mtext">{{ __('Widgets') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('widget.create') }}">{{ __('Add Widgets') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('widget.index') }}">{{ __('Widgets') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('widget.settings') }}">{{ __('Widget Settings') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('subscriber'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-direct-inbox"></use></svg></span>
        <span class="pc-mtext">{{ __('NewsLetter') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.subscriber.email') }}">{{ __('Send Email') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.subscriber.index') }}">{{ __('All Subscribers') }}</a></li>
    </ul>
</li>
@endif

{{-- ── সেটিংস ── --}}
<li class="pc-item pc-caption">
    <label>সেটিংস</label>
    <svg class="pc-icon"><use xlink:href="#custom-setting-2"></use></svg>
</li>

@if(Auth::guard('admin')->user()->sectionCheck('languages'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-text-block"></use></svg></span>
        <span class="pc-mtext">{{ __('Languages') }}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.language.index') }}">{{ __('Language') }}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('admin.admin_language.index') }}">{{ __('Admin Language') }}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('general_settings'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-setting-2"></use></svg></span>
        <span class="pc-mtext">{{__('General Settings')}}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{route('admin.generalsettings.websiteContent')}}">{{__('Website settings & Adds')}}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{route('admin.generalsettings.logo')}}">{{__('Logo')}}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{route('admin.languagelogo.index')}}">{{__('Language Base Logo')}}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{route('admin.generalsettings.favicon')}}">{{__('Favicon')}}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('social_settings'))
<li class="pc-item">
    <a href="{{route('social.link.index')}}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-share-bold"></use></svg></span>
        <span class="pc-mtext">{{ __('Social Settings') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('email_settings'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-sms"></use></svg></span>
        <span class="pc-mtext">{{__('Email Settings')}}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{route('admin.email.config')}}">{{__('Email Configurations')}}</a></li>
    </ul>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('seo_tools'))
<li class="pc-item pc-hasmenu">
    <a href="#!" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-search-normal-1"></use></svg></span>
        <span class="pc-mtext">{{__('SEO Tools')}}</span>
        <span class="pc-arrow"><i data-feather="chevron-right"></i></span>
    </a>
    <ul class="pc-submenu">
        <li class="pc-item"><a class="pc-link" href="{{ route('seo.google.analytics') }}">{{__('Google Analytics')}}</a></li>
        <li class="pc-item"><a class="pc-link" href="{{ route('seo.meta.keywords') }}">{{__('Website Meta Keywords')}}</a></li>
    </ul>
</li>
@endif

{{-- ── সিস্টেম ── --}}
<li class="pc-item pc-caption">
    <label>সিস্টেম</label>
    <svg class="pc-icon"><use xlink:href="#custom-cpu-charge"></use></svg>
</li>

@if(Auth::guard('admin')->user()->sectionCheck('sitemap'))
<li class="pc-item">
    <a href="{{ route('admin.sitemap.all') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-data"></use></svg></span>
        <span class="pc-mtext">{{ __('Site Map') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('font_option'))
<li class="pc-item">
    <a href="{{ route('fonts.index') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-text-align-justify-center"></use></svg></span>
        <span class="pc-mtext">{{ __('Font Option') }}</span>
    </a>
</li>
@endif

@if(Auth::guard('admin')->user()->sectionCheck('reporters'))
<li class="pc-item">
    <a href="{{ route('admin.staff.index') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-user-bold"></use></svg></span>
        <span class="pc-mtext">{{ __('Reporters') }}</span>
    </a>
</li>
@endif

<li class="pc-item">
    <a href="{{ route('admin.cache.clear') }}" class="pc-link">
        <span class="pc-micon"><svg class="pc-icon"><use xlink:href="#custom-close-circle"></use></svg></span>
        <span class="pc-mtext">{{ __('Clear Cache') }}</span>
    </a>
</li>
