<div class="mb-6 flex gap-4 border-b border-gray-200 pb-3 text-sm">
    <a href="<?php echo e(route('admin.dashboard')); ?>" class="text-gray-700 hover:text-gray-900">Dashboard</a>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view users')): ?>
        <a href="<?php echo e(route('admin.users.index')); ?>" class="text-gray-700 hover:text-gray-900">Pengguna</a>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view sections')): ?>
        <a href="<?php echo e(route('admin.sections.index')); ?>" class="text-gray-700 hover:text-gray-900">Konten Section</a>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('view themes')): ?>
        <a href="<?php echo e(route('admin.themes.index')); ?>" class="text-gray-700 hover:text-gray-900">Tema Warna</a>
    <?php endif; ?>
    <?php if (\Illuminate\Support\Facades\Blade::check('role', 'superadmin')): ?>
        <a href="<?php echo e(route('admin.roles.index')); ?>" class="text-gray-700 hover:text-gray-900">Role</a>
        <a href="<?php echo e(route('admin.permissions.index')); ?>" class="text-gray-700 hover:text-gray-900">Permission</a>
    <?php endif; ?>
</div>

<?php if(session('success')): ?>
    <div class="mb-4 rounded border border-green-300 bg-green-50 px-4 py-2 text-sm text-green-800">
        <?php echo e(session('success')); ?>

    </div>
<?php endif; ?>

<?php if($errors->any()): ?>
    <div class="mb-4 rounded border border-red-300 bg-red-50 px-4 py-2 text-sm text-red-800">
        <ul class="list-disc pl-5">
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
<?php endif; ?>
<?php /**PATH C:\laragon2\www\dsi112com\resources\views/admin/panel/_nav.blade.php ENDPATH**/ ?>