mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-16 16:37:47 +00:00
refactor: upgrade to Livewire 4
This commit is contained in:
parent
c94dd89361
commit
a15645ad88
56 changed files with 166 additions and 278 deletions
|
|
@ -8,9 +8,9 @@ use Illuminate\Support\Str;
|
|||
use Illuminate\Validation\ValidationException;
|
||||
use Livewire\Attributes\Layout;
|
||||
use Livewire\Attributes\Validate;
|
||||
use Livewire\Volt\Component;
|
||||
use Livewire\Component;
|
||||
|
||||
new #[Layout('components.layouts.auth')] class extends Component {
|
||||
new #[Layout('layouts.auth')] class extends Component {
|
||||
#[Validate('required|string|email')]
|
||||
public string $email = '';
|
||||
|
||||
|
|
@ -131,10 +131,10 @@ new #[Layout('components.layouts.auth')] class extends Component {
|
|||
</div>
|
||||
|
||||
<div class="flex items-center justify-end">
|
||||
<flux:button
|
||||
variant="outline"
|
||||
type="button"
|
||||
class="w-full"
|
||||
<flux:button
|
||||
variant="outline"
|
||||
type="button"
|
||||
class="w-full"
|
||||
href="{{ route('auth.oidc.redirect') }}"
|
||||
>
|
||||
{{ __('Continue with OIDC') }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue