fix: resolve sidebar unclosed if block causing squeezed layout for gate officer

This commit is contained in:
Wahyudin
2026-10-13 15:58:50 +07:00
parent f3c340fce1
commit ba15db39f4
+7 -1
View File
@@ -188,6 +188,7 @@
@endif @endif
</nav> </nav>
</div> </div>
@endif
<!-- Grup: Pengaturan Akun --> <!-- Grup: Pengaturan Akun -->
<div class="mt-6"> <div class="mt-6">
@@ -328,8 +329,13 @@
<span>Log Verifikasi Gerbang</span> <span>Log Verifikasi Gerbang</span>
</a> </a>
@endif @endif
</div> @if(auth()->user()->isGateOfficer())
<a href="{{ route('pg.gate.inspection') }}" class="flex items-center space-x-3 px-3 py-2.5 rounded-xl text-sm {{ request()->routeIs('pg.gate.*') ? 'sidebar-item-active' : 'sidebar-item-inactive' }}">
<i class="fa-solid fa-shield-halved w-5 text-center"></i>
<span>Verifikasi Pos Gerbang</span>
</a>
@endif @endif
</div>
<p class="text-[11px] font-bold text-slate-400 uppercase tracking-wider px-2 mt-4">PENGATURAN</p> <p class="text-[11px] font-bold text-slate-400 uppercase tracking-wider px-2 mt-4">PENGATURAN</p>
<div class="space-y-1"> <div class="space-y-1">