🌐 Add labels to selectors and rename meetup event route for clarity

- Added `label` attributes to timezone and country choosers for improved accessibility.
- Renamed `meetups.landingpage-event` route to `meetups.landingpage-event-old` for clarity and potential deprecation.
- Removed redundant `heading` attribute from sidebar's navlist group for cleaner rendering.
This commit is contained in:
HolgerHatGarKeineNode
2025-11-23 21:51:34 +01:00
parent c53e342c8d
commit 07b805a782
4 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@
</flux:navlist>
<flux:navlist variant="outline">
<flux:navlist.group :heading="__('Land')">
<flux:navlist.group>
<div class="grid gap-4">
<div>
<livewire:country.chooser/>

View File

@@ -23,7 +23,7 @@ new class extends Component {
<div>
<flux:select variant="listbox" searchable placeholder="{{ __('Wähle dein Land...') }}"
wire:model.live.debounce="currentCountry">
wire:model.live.debounce="currentCountry" label="{{ __('Land') }}">
<x-slot name="search">
<flux:select.search class="px-4" placeholder="{{ __('Suche dein Land...') }}"/>
</x-slot>

View File

@@ -39,7 +39,7 @@ new class extends Component {
<div>
<flux:select variant="listbox" searchable placeholder="{{ __('Wähle deine Zeitzone...') }}"
wire:model.live.debounce="selectedTimezone">
wire:model.live.debounce="selectedTimezone" label="{{ __('Zeitzone') }}">
<x-slot name="search">
<flux:select.search class="px-4" placeholder="{{ __('Suche Zeitzone...') }}"/>
</x-slot>

View File

@@ -70,7 +70,7 @@ Route::middleware([])
Route::get('/meetup/meetup-events', function ($country) {
return redirect("/{$country}/meetups");
});
Volt::route('meetup/meetup-events/l/{event}', 'meetups.landingpage-event');
Volt::route('meetup/meetup-events/l/{event}', 'meetups.landingpage-event')->name('meetups.landingpage-event-old');
Volt::route('meetups', 'meetups.index')->name('meetups.index');
Volt::route('map', 'meetups.map')->name('meetups.map');