<?php $__env->startSection('content'); ?>
<div class="container mx-auto max-w-5xl px-4">
    <?php echo $__env->make('admin.panel._nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <h1 class="mb-6 text-xl font-semibold text-gray-900">Dashboard</h1>

    <div class="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4">
        <div class="rounded border border-gray-200 p-4">
            <div class="text-sm text-gray-500">Total Pengguna</div>
            <div class="text-2xl font-semibold"><?php echo e($userCount); ?></div>
        </div>
        <div class="rounded border border-gray-200 p-4">
            <div class="text-sm text-gray-500">Pengguna Aktif</div>
            <div class="text-2xl font-semibold"><?php echo e($activeUserCount); ?></div>
        </div>
        <div class="rounded border border-gray-200 p-4">
            <div class="text-sm text-gray-500">Total Role</div>
            <div class="text-2xl font-semibold"><?php echo e($roleCount); ?></div>
        </div>
        <div class="rounded border border-gray-200 p-4">
            <div class="text-sm text-gray-500">Total Permission</div>
            <div class="text-2xl font-semibold"><?php echo e($permissionCount); ?></div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon2\www\dsi112com\resources\views/admin/panel/dashboard.blade.php ENDPATH**/ ?>