mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-15 00:06:48 +00:00
🌐 Add multilingual configuration and translation files
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
<flux:header container class="border-b border-zinc-200 bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900">
|
||||
<flux:sidebar.toggle class="lg:hidden" icon="bars-2" inset="left"/>
|
||||
|
||||
<a href="{{ route('dashboard', ['country' => 'de']) }}" class="ms-2 me-5 flex items-center space-x-2 rtl:space-x-reverse lg:ms-0"
|
||||
<a href="{{ route('dashboard', ['country' => str(session('lang_country', 'de'))->after('-')->lower()]) }}" class="ms-2 me-5 flex items-center space-x-2 rtl:space-x-reverse lg:ms-0"
|
||||
wire:navigate>
|
||||
<x-app-logo/>
|
||||
</a>
|
||||
|
||||
<flux:navbar class="-mb-px max-lg:hidden">
|
||||
<flux:navbar.item icon="layout-grid" :href="route('dashboard', ['country' => 'de'])"
|
||||
<flux:navbar.item icon="layout-grid" :href="route('dashboard', ['country' => str(session('lang_country', 'de'))->after('-')->lower()])"
|
||||
:current="request()->routeIs('dashboard')" wire:navigate>
|
||||
{{ __('Dashboard') }}
|
||||
</flux:navbar.item>
|
||||
@@ -99,14 +99,14 @@
|
||||
class="lg:hidden border-e border-zinc-200 bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900">
|
||||
<flux:sidebar.toggle class="lg:hidden" icon="x-mark"/>
|
||||
|
||||
<a href="{{ route('dashboard', ['country' => 'de']) }}" class="ms-1 flex items-center space-x-2 rtl:space-x-reverse"
|
||||
<a href="{{ route('dashboard', ['country' => str(session('lang_country', 'de'))->after('-')->lower()]) }}" class="ms-1 flex items-center space-x-2 rtl:space-x-reverse"
|
||||
wire:navigate>
|
||||
<x-app-logo/>
|
||||
</a>
|
||||
|
||||
<flux:navlist variant="outline">
|
||||
<flux:navlist.group :heading="__('Platform')">
|
||||
<flux:navlist.item icon="layout-grid" :href="route('dashboard', ['country' => 'de'])"
|
||||
<flux:navlist.item icon="layout-grid" :href="route('dashboard', ['country' => str(session('lang_country', 'de'))->after('-')->lower()])"
|
||||
:current="request()->routeIs('dashboard')" wire:navigate>
|
||||
{{ __('Dashboard') }}
|
||||
</flux:navlist.item>
|
||||
|
||||
Reference in New Issue
Block a user