<!-- NAVIGATION -->
<?php
    $menus = $menus ?? get_menus();
    if (empty($menus)) {
        return;
    }

    $class = $class ?? [];
?>

<nav class="hidden lg:flex-center">
    <ul class="flex items-center gap-5 leading-none <?php echo e($class['wrapper'] ?? 'text-white'); ?> font-medium">
        <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li class="flex-center <?php echo e(isset($menu['childs']) && count($menu['childs']) > 0 ? 'relative group/has-menu' : ''); ?>">

                <a href="<?php echo e($menu['url'] ?? '#'); ?>" aria-label="Menu link"
                    class="inline-block px-2 py-3 hover:text-primary [&.active]:text-primary custom-transition effect-nav-menu <?php echo e($menu['is_active'] ?? ''); ?>"><?php echo e($menu['name'] ?? translate('No name')); ?>

                </a>

                <?php if(isset($menu['childs']) && $menu['childs']): ?>
                    <ul class="flex flex-col bg-heading px-2 py-3 shadow-md rounded-lg w-max absolute top-full left-0 rtl:right-0 z-20 invisible opacity-0 -translate-x-5 group-hover/has-menu:visible group-hover/has-menu:opacity-100 group-hover/has-menu:translate-x-0 custom-transition <?php echo e($class['dropdown_wrapper'] ?? 'bg-white'); ?>">
                        <?php $__currentLoopData = $menu['childs']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li>
                                <a href="<?php echo e($child['url'] ?? '#'); ?>" aria-label="Menu link"
                                    class="relative inline-block px-2 py-2.5 hover:text-primary w-full before:absolute before:inset-0 before:w-0.5 before:h-0 before:bg-primary hover:before:h-full <?php echo e($class['dropdown_link'] ?? ''); ?> <?php echo e($child['is_active'] ?? ''); ?> [&.active]:text-primary before:duration-300 duration-300">
                                    <?php echo e($child['name']); ?>

                                </a>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                <?php endif; ?>
            </li>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </ul>
</nav>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\themes\elearning-education\components\header\menu-one.blade.php ENDPATH**/ ?>