user profile updates

This commit is contained in:
yuriko 🦊 2025-07-26 15:06:05 -04:00
parent c7c621b086
commit ea140671bc
9 changed files with 78 additions and 27 deletions

View file

@ -23,10 +23,21 @@
<h2>User settings</h2>
<form wire:submit>
<wa-card>
<div class="wa-stack">
<span class="wa-heading-m">Profile picture</span>
<input type="file" wire:model.live="avatar" wire:loading.attr="disabled" />
@error('avatar')
<div class="wa-stack wa-gap-l">
<div class="wa-stack">
<span class="wa-heading-m">Profile picture</span>
<input type="file" wire:model.live="avatar" wire:loading.attr="disabled" />
@error('avatar')
<span class="wa-caption-m">{{ $message }}</span>
@enderror
</div>
<wa-divider></wa-divider>
<wa-input wire:model.live="name" label="Display name">
<livewire:app.icon slot="start" name="user-tag" />
</wa-input>
@error('name')
<span class="wa-caption-m">{{ $message }}</span>
@enderror
</div>