mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
- Updated settings route links to include `country` parameter dynamically resolved from session. - Improved relational queries by adding `city.country` to meetups map and `coursesEvents.course` to lecturers data.
21 lines
990 B
PHP
21 lines
990 B
PHP
<div class="flex items-start max-md:flex-col">
|
|
<div class="me-10 w-full pb-4 md:w-[220px]">
|
|
<flux:navlist>
|
|
<flux:navlist.item :href="route('settings.profile', ['country' => str(session('lang_country', 'de'))->after('-')->lower()])" wire:navigate>{{ __('Profile') }}</flux:navlist.item>
|
|
{{--<flux:navlist.item :href="route('settings.password')" wire:navigate>{{ __('Password') }}</flux:navlist.item>--}}
|
|
<flux:navlist.item :href="route('settings.appearance', ['country' => str(session('lang_country', 'de'))->after('-')->lower()])" wire:navigate>{{ __('Appearance') }}</flux:navlist.item>
|
|
</flux:navlist>
|
|
</div>
|
|
|
|
<flux:separator class="md:hidden" />
|
|
|
|
<div class="flex-1 self-stretch max-md:pt-6">
|
|
<flux:heading>{{ $heading ?? '' }}</flux:heading>
|
|
<flux:subheading>{{ $subheading ?? '' }}</flux:subheading>
|
|
|
|
<div class="mt-5 w-full max-w-lg">
|
|
{{ $slot }}
|
|
</div>
|
|
</div>
|
|
</div>
|