Basic Menu
Some checks are pending
deploy / deploy (push) Waiting to run

This commit is contained in:
2024-01-01 11:14:01 +01:00
parent bb1e38d274
commit 73de3a69b9
4 changed files with 54 additions and 2 deletions

View File

@@ -21,8 +21,15 @@ use App\Http\Controllers\ProductsCompareController;
*/
Route::get('/', function () {
return Inertia::render('IkeaRoot')->with('menu', (new App\Http\Controllers\Superuser\UserMenuController)->get() );
return Inertia::render('IkeaRoot');
})->name('root');
Route::get('/about/', function () {
return Inertia::render('IkeaAbout');
})->name('about');
Route::get('/exchange/', function () {
return Inertia::render('IkeaExchange');
})->name('exchange');
Route::get('/menu/get', [App\Http\Controllers\Superuser\UserMenuController::class, 'get'])->name('menu.user');
Route::get('/ccountry/', [CountryCodeController::class, 'index'])->name('ccountry.index');