Add country flag to dropdown

This commit is contained in:
Miguel Nogueira 2020-09-02 19:29:37 +01:00
parent fd8bf4f0f2
commit d743554df6
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
@foreach(Mcamara\LaravelLocalization\Facades\LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
<li class="dropdown-item">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ Mcamara\LaravelLocalization\Facades\LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
{{ $properties['native'] }}
<img src="https://www.countryflags.io/{{$localeCode}}/flat/64.png"> {{ $properties['native'] }}
</a>
</li>
@endforeach