12-05-2026 Frontend dev
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Kevin Adametz 2026-05-12 18:32:33 +02:00
parent 405df0a122
commit 5b8bdf4182
779 changed files with 480564 additions and 6241 deletions

View file

@ -1,8 +1,10 @@
<?php
use Livewire\Attributes\Layout;
use Livewire\Volt\Component;
new class extends Component {
new #[Layout('components.layouts.app')] class extends Component
{
//
}; ?>

View file

@ -4,7 +4,8 @@ use App\Livewire\Actions\Logout;
use Illuminate\Support\Facades\Auth;
use Livewire\Volt\Component;
new class extends Component {
new class extends Component
{
public string $password = '';
/**
@ -16,7 +17,7 @@ new class extends Component {
'password' => ['required', 'string', 'current_password'],
]);
tap(Auth::user(), $logout(...))->delete();
tap(Auth::user(), $logout(...))->forceDelete();
$this->redirect('/', navigate: true);
}

View file

@ -4,11 +4,15 @@ use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules\Password;
use Illuminate\Validation\ValidationException;
use Livewire\Attributes\Layout;
use Livewire\Volt\Component;
new class extends Component {
new #[Layout('components.layouts.app')] class extends Component
{
public string $current_password = '';
public string $password = '';
public string $password_confirmation = '';
/**

View file

@ -4,10 +4,13 @@ use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Session;
use Illuminate\Validation\Rule;
use Livewire\Attributes\Layout;
use Livewire\Volt\Component;
new class extends Component {
new #[Layout('components.layouts.app')] class extends Component
{
public string $name = '';
public string $email = '';
/**
@ -35,7 +38,7 @@ new class extends Component {
'lowercase',
'email',
'max:255',
Rule::unique(User::class)->ignore($user->id)
Rule::unique(User::class)->ignore($user->id),
],
]);