+
-
-
-
-
-
-

-

-
-
-
-
-
-
-
-
-
- Documentation
-
-
-
- Laravel has wonderful documentation
- covering every aspect of the
- framework. Whether you are a
- newcomer or have prior experience
- with Laravel, we recommend reading
- our documentation from beginning to
- end.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Laracasts
-
-
-
- Laracasts offers thousands of video
- tutorials on Laravel, PHP, and JavaScript
- development. Check them out, see for
- yourself, and massively level up your
- development skills in the process.
-
-
-
-
-
-
-
-
-
-
-
- Laravel News
-
-
-
- Laravel News is a community driven portal
- and newsletter aggregating all of the latest
- and most important news in the Laravel
- ecosystem, including new package releases
- and tutorials.
-
-
-
-
-
-
-
-
-
-
-
- Vibrant Ecosystem
-
-
-
- Laravel's robust library of first-party
- tools and libraries, such as
- Forge,
- Vapor,
- Nova,
- Envoyer, and
- Herd
- help you take your projects to the next
- level. Pair them with powerful open source
- libraries like
- Cashier,
- Dusk,
- Echo,
- Horizon,
- Sanctum,
- Telescope, and more.
-
-
-
+
+
+
+ Гараж 181
+
-
diff --git a/routes/auth.php b/routes/auth.php
index 3926ecf..e19dd29 100644
--- a/routes/auth.php
+++ b/routes/auth.php
@@ -22,30 +22,30 @@ Route::middleware('guest')->group(function () {
Route::post('login', [AuthenticatedSessionController::class, 'store']);
- Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])
- ->name('password.request');
-
- Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])
- ->name('password.email');
-
- Route::get('reset-password/{token}', [NewPasswordController::class, 'create'])
- ->name('password.reset');
-
- Route::post('reset-password', [NewPasswordController::class, 'store'])
- ->name('password.store');
+// Route::get('forgot-password', [PasswordResetLinkController::class, 'create'])
+// ->name('password.request');
+//
+// Route::post('forgot-password', [PasswordResetLinkController::class, 'store'])
+// ->name('password.email');
+//
+// Route::get('reset-password/{token}', [NewPasswordController::class, 'create'])
+// ->name('password.reset');
+//
+// Route::post('reset-password', [NewPasswordController::class, 'store'])
+// ->name('password.store');
});
Route::middleware('auth')->group(function () {
- Route::get('verify-email', EmailVerificationPromptController::class)
- ->name('verification.notice');
-
- Route::get('verify-email/{id}/{hash}', VerifyEmailController::class)
- ->middleware(['signed', 'throttle:6,1'])
- ->name('verification.verify');
-
- Route::post('email/verification-notification', [EmailVerificationNotificationController::class, 'store'])
- ->middleware('throttle:6,1')
- ->name('verification.send');
+// Route::get('verify-email', EmailVerificationPromptController::class)
+// ->name('verification.notice');
+//
+// Route::get('verify-email/{id}/{hash}', VerifyEmailController::class)
+// ->middleware(['signed', 'throttle:6,1'])
+// ->name('verification.verify');
+//
+// Route::post('email/verification-notification', [EmailVerificationNotificationController::class, 'store'])
+// ->middleware('throttle:6,1')
+// ->name('verification.send');
Route::get('confirm-password', [ConfirmablePasswordController::class, 'show'])
->name('password.confirm');
diff --git a/routes/web.php b/routes/web.php
index 067c4f5..f0ef4fe 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,24 +1,20 @@
Route::has('login'),
- 'canRegister' => Route::has('register'),
- 'laravelVersion' => Application::VERSION,
- 'phpVersion' => PHP_VERSION,
- ]);
-});
+Route::get('/', IndexController::class)->name('index');
-Route::get('/dashboard', function () {
- return Inertia::render('Dashboard');
-})->middleware(['auth', 'verified'])->name('dashboard');
+Route::middleware(['auth', ProfileVerificationMiddleware::class])->group(function () {
+ Route::get('/need-verification', NeedVerificationController::class)->name('profile.need-verification');
+
+ Route::get('/dashboard', DashboardController::class)->name('dashboard');
-Route::middleware('auth')->group(function () {
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');