mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
🌐 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:
@@ -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/>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user