

<?php $__env->startSection('title', 'Dashboard'); ?>

<?php $__env->startSection('content'); ?>

<div class="cards">
    <div class="card">
        <h3>Total Products</h3>
        <p><?php echo e(\DB::table('products')->count()); ?></p>
    </div>

    <div class="card">
        <h3>Total Orders</h3>
        <p><?php echo e(\DB::table('orders')->count()); ?></p>
    </div>

    <div class="card">
        <h3>Total Users</h3>
        <p><?php echo e(\DB::table('users')->count()); ?></p>
    </div>
</div>

<style>
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
</style>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home2/jitrealx/public_html/hotelbooking/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>