28 lines
948 B
PHP
28 lines
948 B
PHP
<?php
|
|
|
|
use App\Livewire\Settings\Appearance;
|
|
use App\Livewire\Settings\Password;
|
|
use App\Livewire\Settings\Profile;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::get('/', App\Livewire\ApplicationForm::class)->name('home');
|
|
|
|
Route::view('dashboard', 'dashboard')
|
|
->middleware(['auth', 'verified'])
|
|
->name('dashboard');
|
|
|
|
Route::middleware(['auth'])->group(function () {
|
|
Route::redirect('settings', 'settings/profile');
|
|
|
|
Route::get('settings/profile', Profile::class)->name('settings.profile');
|
|
Route::get('settings/password', Password::class)->name('settings.password');
|
|
Route::get('settings/appearance', Appearance::class)->name('settings.appearance');
|
|
});
|
|
|
|
Route::get('/application-status/{uuid}', function ($uuid) {
|
|
$application = App\Models\Application::where('uuid', $uuid)->firstOrFail();
|
|
return view('application-status', compact('application'));
|
|
})->name('application.status');
|
|
|
|
require __DIR__ . '/auth.php';
|