Add reusable Blade components for inputs and layouts: FilePond, navigation groups, and notification buttons

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 13:23:20 +01:00
parent 22c8ad3588
commit 30e78711c9
33 changed files with 1853 additions and 349 deletions

View File

@@ -6,8 +6,6 @@ use App\Support\NostrAuth;
use Livewire\Component;
new class extends Component {
public $layout = 'layouts.app';
public $title = __('Wahlen');
public bool $isAllowed = false;

View File

@@ -320,14 +320,6 @@ new class extends Component {
\App\Support\Broadcast::on('votes')->as('newVote')->sendNow();
}
public function render()
{
return view('livewire.association.election.show')
->layout('layouts.app')
->with([
'seo' => new \RalphJSmit\Laravel\SEO\Support\SEOData(title: 'Wahlen ' . $this->election->year, description: 'Wahlen des Vereins im Jahr ' . $this->election->year)
]);
}
};
?>