Improve conditional rendering and authentication logic in views

- Updated multiple views to conditionally render actions based on authentication state for a better user experience.
- Added login links where actions require authentication.
This commit is contained in:
HolgerHatGarKeineNode
2025-11-23 17:42:46 +01:00
parent a1036e3ec0
commit 454c8e53a5
10 changed files with 255 additions and 207 deletions

View File

@@ -43,6 +43,11 @@ Volt::route('welcome', 'welcome')->name('welcome');
Route::get('stream-calendar', \App\Http\Controllers\DownloadMeetupCalendar::class)
->name('ics');
Route::middleware(['auth'])
->get('dashboard', function () {
return redirect('/de/dashboard'); // Zu /de weiterleiten
});
Route::middleware([])
->prefix('/{country:code}')
->group(function () {