

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


<?php $__env->startPush('styles'); ?>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
<style>
    body {
        font-family: 'Poppins', sans-serif;
    }
</style>
<?php $__env->stopPush(); ?>

<div class="container py-4">

    <!-- Success Tip Box -->
    <div class="alert alert-success text-center fw-semibold">
        <strong>Tip:</strong> Please ensure that all your courses for the entire semester have been successfully registered.
    </div>

    <!-- Dashboard Tiles -->
    <div class="row g-4">
        <?php
            $tiles = [
                ['title' => 'Semester Registration', 'desc' => 'Register for the current semester.', 'btn' => 'Start Registration', 'route' => 'student.registration', 'bg' => '#FFA500', 'btnclass' => 'btn-success'],
                ['title' => 'Registered Programme', 'desc' => 'View your registered programme details.', 'btn' => 'View Programme', 'route' => 'student.programmes', 'bg' => '#007bff', 'btnclass' => 'btn-outline-light'],
                ['title' => 'My Results', 'desc' => 'Check your exam results.', 'btn' => 'View Results', 'route' => 'student.results', 'bg' => '#FFD700', 'btnclass' => 'btn-success'],
                ['title' => 'Fees Balance', 'desc' => 'View your current balance.', 'btn' => '$0.00 → View Statement', 'route' => 'student.statement', 'bg' => '#FF6347', 'btnclass' => 'btn-danger'],
                ['title' => 'Coursework', 'desc' => 'Track your coursework.', 'btn' => 'View Coursework', 'route' => 'student.coursework', 'bg' => '#20B2AA', 'btnclass' => 'btn-primary'],
                ['title' => 'My Courses', 'desc' => 'See registered modules.', 'btn' => 'View Courses', 'route' => 'student.courses', 'bg' => '#5bc0de', 'btnclass' => 'btn-info'],
                ['title' => 'Notices', 'desc' => 'Latest announcements.', 'btn' => 'View Notices', 'route' => 'student.notices', 'bg' => '#9370DB', 'btnclass' => 'btn-light'],
                ['title' => 'Timetable', 'desc' => 'Class and exam schedule.', 'btn' => 'View Timetable', 'route' => 'student.timetable', 'bg' => '#6f42c1', 'btnclass' => 'btn-warning'],
                ['title' => 'Accommodation', 'desc' => 'Manage room details.', 'btn' => 'Manage Room', 'route' => 'student.accommodation', 'bg' => '#28a745', 'btnclass' => 'btn-dark'],
                ['title' => 'Downloads', 'desc' => 'Access files & forms.', 'btn' => 'Go to Downloads', 'route' => 'student.downloads', 'bg' => '#17a2b8', 'btnclass' => 'btn-outline-light'],
            ];
        ?>

        <?php $__currentLoopData = $tiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tile): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-6 col-lg-4 d-flex">
                <div class="card text-center text-white shadow border-0 w-100" style="background-color: <?php echo e($tile['bg']); ?>">
                    <div class="card-body d-flex flex-column justify-content-between h-100">
                        <div>
                            <h5 class="card-title fw-bold"><?php echo e($tile['title']); ?></h5>
                            <p class="card-text small"><?php echo e($tile['desc']); ?></p>
                        </div>
                        <a href="<?php echo e(route($tile['route'])); ?>" class="btn <?php echo e($tile['btnclass']); ?> mt-3">
                            <?php echo e($tile['btn']); ?>

                        </a>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <!-- Logged-in Info -->
    <p class="text-muted text-center small mt-5">
        Logged in as <strong><?php echo e(Auth::user()->name); ?></strong> (<?php echo e(Auth::user()->email); ?>)
    </p>
</div>

<?php $__env->stopSection(); ?>

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