<?php
    use Vanguard\Support\Locale;
?>
<li class="nav-item dropdown d-flex align-items-center">
    <a class="nav-link dropdown-toggle text-uppercase"
       href="#"
       id="navbarDropdown"
       role="button"
       data-toggle="dropdown"
       aria-haspopup="true"
       aria-expanded="false">
        <img src="<?php echo e(Locale::flagUrl(session()->get('locale') ?: config('app.locale'))); ?>" width="30" />
        <span class="ml-1"><?php echo e(session()->get('locale')); ?></span>
    </a>
    <div class="dropdown-menu dropdown-menu-right position-absolute p-0" aria-labelledby="navbarDropdown">
        <?php $__currentLoopData = Locale::AVAILABLE_LOCALES; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $locale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <a class="dropdown-item py-2 text-uppercase" href="?lang=<?php echo e($locale); ?>">
                <img src="<?php echo e(Locale::flagUrl($locale)); ?>" alt="<?php echo e($locale); ?>" width="30">
                <span class="ml-1"><?php echo e($locale); ?></span>
            </a>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
</li>
<?php /**PATH /Applications/AMPPS/www/vanguard/resources/views/partials/locale-dropdown.blade.php ENDPATH**/ ?>