<?php $__env->startSection('title', 'ড্যাশবোর্ড'); ?>

<?php $__env->startSection('content'); ?>
<div class="container-fluid">
    <!-- ব্রেডক্রাম্ব -->
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item active" aria-current="page">ড্যাশবোর্ড</li>
        </ol>
    </nav>
    
    <div class="card shadow">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold">স্বাগতম, <?php echo e($user->name); ?></h6>
        </div>
        <div class="card-body">
            <div class="text-center py-5">
                <i class="fas fa-tachometer-alt fa-4x text-primary mb-3"></i>
                <h4 class="text-primary">আমবাগান যুব কল্যাণ সমিতি</h4>
                <p class="text-muted">আপনার ড্যাশবোর্ড</p>
                
                <div class="row mt-4">
                    <div class="col-md-4 mb-3">
                        <div class="card border-primary">
                            <div class="card-body">
                                <i class="fas fa-user fa-2x text-primary mb-2"></i>
                                <h5>ইউজার টাইপ</h5>
                                <p class="mb-0">
                                    <?php if($user->user_type == 'admin'): ?>
                                        <span class="badge bg-danger">অ্যাডমিন</span>
                                    <?php elseif($user->user_type == 'committee'): ?>
                                        <span class="badge bg-warning">কমিটি সদস্য</span>
                                    <?php else: ?>
                                        <span class="badge bg-success">সদস্য</span>
                                    <?php endif; ?>
                                </p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="col-md-4 mb-3">
                        <div class="card border-success">
                            <div class="card-body">
                                <i class="fas fa-envelope fa-2x text-success mb-2"></i>
                                <h5>ইমেইল</h5>
                                <p class="mb-0"><?php echo e($user->email ?? 'N/A'); ?></p>
                            </div>
                        </div>
                    </div>
                    
                    <div class="col-md-4 mb-3">
                        <div class="card border-info">
                            <div class="card-body">
                                <i class="fas fa-phone fa-2x text-info mb-2"></i>
                                <h5>ফোন</h5>
                                <p class="mb-0"><?php echo e($user->phone); ?></p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="mt-4">
                    <h5>দ্রুত লিংক</h5>
                    <div class="btn-group mt-2" role="group">
                        <a href="<?php echo e(route('profile')); ?>" class="btn btn-primary">
                            <i class="fas fa-user me-1"></i>প্রোফাইল
                        </a>
                        <a href="<?php echo e(route('notices.index')); ?>" class="btn btn-success ms-2">
                            <i class="fas fa-bullhorn me-1"></i>নোটিশ
                        </a>
                        <?php if($user->user_type == 'admin'): ?>
                        <a href="<?php echo e(route('dashboard.admin')); ?>" class="btn btn-danger ms-2">
                            <i class="fas fa-cogs me-1"></i>অ্যাডমিন ড্যাশবোর্ড
                        </a>
                        <?php elseif($user->user_type == 'committee'): ?>
                        <a href="<?php echo e(route('dashboard.committee')); ?>" class="btn btn-warning ms-2">
                            <i class="fas fa-users me-1"></i>কমিটি ড্যাশবোর্ড
                        </a>
                        <?php endif; ?>
                    </div>
                </div>
                
                <div class="mt-4">
                    <form action="<?php echo e(route('logout')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <button type="submit" class="btn btn-outline-danger">
                            <i class="fas fa-sign-out-alt me-1"></i>লগআউট
                        </button>
                    </form>
                </div>
            </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 /home/naowarin/somoti.naowarinternational.my.id/resources/views/dashboard/index.blade.php ENDPATH**/ ?>