feat: add css js images and fonts assets

This commit is contained in:
2026-08-16 07:58:54 +03:30
parent cd66bedd4c
commit 0e8dd4f026
712 changed files with 48053 additions and 41 deletions
+28 -4
View File
@@ -1,18 +1,42 @@
<?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Illuminate\Http\Request;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
commands: __DIR__.'/../routes/console.php',
web: [
__DIR__ . '/../routes/web.php',
__DIR__ . '/../routes/auth.php',
__DIR__ . '/../routes/admin.php',
],
commands: __DIR__ . '/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
$middleware
->redirectGuestsTo(function (Request $request) {
if ($request->routeIs('admin.*')) {
return route('admin.auth.login.index');
}
return route('auth.login.index');
})
->redirectUsersTo(function (Request $request) {
if ($request->routeIs('admin.*')) {
return route('admin.dashboard.index');
}
return route('index');
});
})
->withExceptions(function (Exceptions $exceptions): void {
->withExceptions(function (Exceptions $exceptions) {
//
})->create();