Move components inside folders

Signed-off-by: Andrea Pavone <info@andreapavone.com>
This commit is contained in:
2024-11-10 19:06:42 +01:00
parent 0e18b53f91
commit eb0b894e1c
28 changed files with 1383 additions and 273 deletions

View File

@ -6,9 +6,11 @@ use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
Route::get('/', function () {
return redirect('/dashboard');
return Inertia::render('Home');
});
Route::get('/dashboard', function () {
return Inertia::render('Dashboard');
Route::get('/report/{page}/dashboard', function (int $page = 0) {
return Inertia::render('Dashboard', [
'page' => $page
]);
})->name('dashboard');