<?php
    $current = app()->getLocale();
    $locales = ['en' => 'EN', 'es' => 'ES', 'pt_BR' => 'PT'];
?>
<nav class="<?php echo e($class ?? 'flex flex-wrap gap-2 justify-end items-center text-xs sm:text-sm'); ?>" role="navigation" aria-label="<?php echo e(__('app.common.language')); ?>">
<?php $__currentLoopData = $locales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $code => $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <a href="<?php echo e(route('locale.switch', ['locale' => $code])); ?>"
       class="<?php echo e(($linkClass ?? 'px-2 py-0.5 rounded transition-opacity hover:opacity-100')); ?> <?php echo e($current === $code ? 'font-bold underline opacity-100' : 'opacity-75'); ?>"><?php echo e($label); ?></a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</nav>
<?php /**PATH /Users/calculateur/Desktop/panel/disney/resources/views/partials/lang-switch.blade.php ENDPATH**/ ?>