feat: add admin panel layout, dashboard, and user management

This commit is contained in:
2026-08-19 13:49:32 +03:30
parent 368fda6375
commit eebededa4d
188 changed files with 70341 additions and 7 deletions
+6 -1
View File
@@ -9,12 +9,17 @@ return Application::configure(basePath: dirname(__DIR__))
web: [
__DIR__.'/../routes/web.php',
__DIR__.'/../routes/auth.php',
__DIR__.'/../routes/admin.php',
],
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
//
$middleware->redirectUsersTo(function (Illuminate\Http\Request $request) {
return $request->is('admin') || $request->is('admin/*')
? route('admin.dashboard.index')
: route('index');
});
})
->withExceptions(function (Exceptions $exceptions) {
//