added llobby

This commit is contained in:
2025-09-03 19:43:47 +02:00
parent e812bb61a6
commit 36c09f61f8
7 changed files with 271 additions and 1 deletions

View File

@@ -2,11 +2,16 @@
use App\Http\Controllers\ProfileController;
use Illuminate\Support\Facades\Route;
use App\View\Components\Lobby;
Route::get('/', function () {
return view('welcome');
});
Route::get('/lobby', function () {
return view('lobby');
})->middleware('auth');
Route::get('/dashboard', function () {
return view('dashboard');
})->middleware(['auth', 'verified'])->name('dashboard');
@@ -18,3 +23,7 @@ Route::middleware('auth')->group(function () {
});
require __DIR__.'/auth.php';
Route::get('/lobby', function () {
return view('lobby');
})->middleware('auth');