🛠️ Refactor Blade views for Livewire component consistency, streamline login view, and improve key usage across components

- Replaced `state` and `computed` with `Livewire\Component` implementations in `language/selector.blade.php` for enhanced maintainability.
- Adjusted `login.blade.php` syntax for dynamic href generation and removed commented-out sign-up link.
- Added unique `wire:key` attributes to iterable elements for enhanced performance and reactivity.
- Simplified controller routing and corrected indentation in `web.php`, improving clarity.
This commit is contained in:
HolgerHatGarKeineNode
2026-01-17 17:07:15 +01:00
parent eebe453f5a
commit 4c0d387692
5 changed files with 80 additions and 81 deletions

View File

@@ -44,7 +44,7 @@ new class extends Component {
<flux:select.search class="px-4" placeholder="{{ __('Suche Zeitzone...') }}"/>
</x-slot>
@foreach($timezones as $timezone)
<flux:select.option value="{{ $timezone }}">
<flux:select.option wire:key="timezone-{{ $timezone }}" value="{{ $timezone }}">
{{ $timezone }}
</flux:select.option>
@endforeach