resources/views/partials/navigation.blade.php: add language links.
This commit is contained in:
parent
40b9cabff1
commit
f5252052ff
1 changed files with 9 additions and 0 deletions
|
|
@ -26,6 +26,15 @@
|
|||
@else
|
||||
<a href="{{ route('auth.login') }}">{{ __('Login') }}</a>
|
||||
@endauth
|
||||
|
||||
<div class="flex space-x-2">
|
||||
@foreach(config('lang') as $locale => $name)
|
||||
<a href="{{ route('locale.store', ['locale' => $locale ]) }}" title="{{ $name }}">
|
||||
<x-icon class="w-6 h-6" name="flags.{{ $locale }}" />
|
||||
</a>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue