25 lines
569 B
PHP
25 lines
569 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Inertia\Inertia;
|
|
|
|
Route::get('/welcome', function () {
|
|
return Inertia::render('welcome');
|
|
})->name('home');
|
|
|
|
Route::get('/', function () {
|
|
return Inertia::render('maintenance');
|
|
})->name('maintenance');
|
|
|
|
Route::middleware(['auth', 'verified'])->group(function () {
|
|
Route::get('dashboard', function () {
|
|
return Inertia::render('dashboard');
|
|
})->name('dashboard');
|
|
});
|
|
|
|
|
|
require __DIR__.'/settings.php';
|
|
require __DIR__.'/auth.php';
|
|
require __DIR__.'/forms.php';
|
|
require __DIR__.'/dev-routes.php';
|