KSA-ORACLE/routes/web.php
2025-09-05 17:28:33 +03:00

20 lines
641 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
Route::get('/', function () {
return Inertia::render('Landing');
})->name('home');
Route::get('dashboard', function () {
return Inertia::render('Dashboard');
})->middleware(['auth', 'verified'])->name('dashboard');
// Route::get('/cards', [App\Http\Controllers\CardController::class, 'index'])->name('cards.index');
Route::get('/tirage',[App\Http\Controllers\CardController::class, 'index'])->name('cards.shuffle');
Route::post('/draw-card', [App\Http\Controllers\CardController::class, 'drawCard']);
require __DIR__.'/settings.php';
require __DIR__.'/auth.php';