<?php $__env->startSection('content'); ?>
    <div class="welcome-container">

        <div class="welcome-card col-11 col-md-10 col-lg-6">
            <div class="mb-4">
                <img src="<?php echo e(asset('images/rosa-mys-logo.png')); ?>" alt="School Logo" class="img-fluid mb-3"
                     style="max-width: 120px;">
            </div>

            <?php if(auth()->guard()->check()): ?>
                <h1 class="welcome-title text-dark">Welcome Back, <?php echo e(auth()->user()->name); ?>!</h1>
                <p class="welcome-subtitle">You are already logged in</p>

                <div class="account-types">
                    <a href="<?php echo e(route('dashboard')); ?>" class="account-type-btn admin">
                        <i class="fas fa-tachometer-alt me-2"></i>
                        Dashboard
                    </a>

                    <a href="<?php echo e(route('logout')); ?>" class="account-type-btn student">
                        <i class="fas fa-sign-out-alt me-2"></i>
                        Logout
                    </a>
                </div>
            <?php else: ?>
                <h1 class="welcome-title text-dark">Welcome to Our School!</h1>
                <p class="welcome-subtitle">Choose your account type to get started</p>

                <div class="account-types">
                    <button class="account-type-btn student" data-type="student">
                        <i class="fas fa-user-graduate me-2"></i>
                        Student
                    </button>

                    <button class="account-type-btn admin" data-type="admin">
                        <i class="fas fa-user-shield me-2"></i>
                        Admin
                    </button>
                </div>
            <?php endif; ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php if(auth()->guard()->guest()): ?>
    <?php $__env->startSection('modals'); ?>
        <!-- Login Modal -->
        <div class="modal fade" id="loginModal" tabindex="-1" aria-labelledby="loginModalLabel" aria-hidden="true"
             data-bs-backdrop="static" data-bs-keyboard="false">
            <div class="modal-dialog modal-dialog-centered">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                    </div>
                    <div class="modal-body">
                        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('login-form', []);

$__html = app('livewire')->mount($__name, $__params, 'lw-332666986-0', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
                    </div>
                </div>
            </div>
        </div>
    <?php $__env->stopSection(); ?>
<?php endif; ?>

<?php echo $__env->make('layouts.guest', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\wamp64\www\edu-p\resources\views/index.blade.php ENDPATH**/ ?>