Add new models and page for motions

This commit is contained in:
2025-12-27 16:51:57 +01:00
parent 3ef975ad39
commit 45fe15eef2
36 changed files with 3753 additions and 355 deletions

View File

@@ -1,5 +1,10 @@
<?php
use App\Livewire\HomePage;
use App\Livewire\Motion\Search as MotionSearch;
use App\Livewire\Motion\Show as MotionShow;
use App\Livewire\Person\Search as PersonSearch;
use App\Livewire\Person\Show as PersonShow;
use App\Livewire\Settings\Appearance;
use App\Livewire\Settings\Password;
use App\Livewire\Settings\Profile;
@@ -7,15 +12,14 @@ use App\Livewire\Settings\TwoFactor;
use Illuminate\Support\Facades\Route;
use Laravel\Fortify\Features;
use App\Livewire\HomePage;
use App\Livewire\Person\Search as PersonSearch;
use App\Livewire\Person\Show as PersonShow;
Route::get('/', HomePage::class)->name('home');
Route::get('/ledamot', PersonSearch::class)->name('person.search');
Route::get('/ledamot/{personId}', PersonShow::class)->name('person.show');
Route::get('/motion', MotionSearch::class)->name('motion.search');
Route::get('/motion/{motionId}', MotionShow::class)->name('motion.show');
Route::view('dashboard', 'dashboard')
->middleware(['auth', 'verified'])
->name('dashboard');