<?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
?>

<ul class="list-none flex flex-nowrap space-x-2">
    @foreach(config('filament-cms.locale.available') as $locale)
        <li>OK
            <a rel="alternate" hreflang="{{ $locale }}" href="{{ route(Route::currentRouteName(), ['locale' => $locale]) }}">
                {{ $locale }}
            </a>
        </li>
    @endforeach
</ul>
