New design

This commit is contained in:
2025-12-20 17:44:35 +01:00
parent c693f7c7ed
commit bc25bb1626
12 changed files with 826 additions and 299 deletions

View File

@@ -4,7 +4,7 @@ namespace App\Livewire\Person;
use Livewire\Component;
use App\Services\RiksdagenService;
use App\Enums\PartyEnum;
use App\Enums\Parties;
class Search extends Component
{
@@ -16,7 +16,7 @@ class Search extends Component
public function mount()
{
$this->parties = PartyEnum::cases();
$this->parties = collect(Parties::cases())->sortBy(fn($party) => $party->label())->toArray();
}
public function search()