

<?php $__env->startSection('content'); ?>
    <div class="mb-6">
        <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
    </div>

    
    <div class="p-6 bg-white border border-gray-200 rounded shadow-sm">
        <h2 class="text-lg font-semibold mb-2">
            👋 Welcome, <?php echo e(Auth::user()->name); ?>

        </h2>
        <?php if(auth()->user()->hasRole('super-admin')): ?>
            <p class="text-blue-600 font-medium">👑 You are Super Admin!</p>
        <?php elseif(auth()->user()->hasRole('admin')): ?>
            <p class="text-green-600 font-medium">🛠️ You are Admin!</p>
        <?php elseif(auth()->user()->hasRole('user')): ?>
            <p class="text-yellow-600 font-medium">🙂 You are a Standard User!</p>
        <?php else: ?>
            <p class="text-gray-600">You don’t have a role assigned.</p>
        <?php endif; ?>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\laravel\realStateNew\resources\views/backend/dashboard.blade.php ENDPATH**/ ?>