mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
This commit is contained in:
parent
21e59d775a
commit
f60ae41bf6
26 changed files with 741 additions and 70 deletions
|
|
@ -25,11 +25,17 @@
|
|||
<wa-card>
|
||||
<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
|
||||
<span class="wa-heading-s">Profile picture</span>
|
||||
<label for="avatar" class="wa-cluster wa-placeholder">
|
||||
<livewire:app.icon name="image-user" class="wa-caption-l" style="font-size: var(--wa-font-size-3xl)" />
|
||||
<div class="wa-stack wa-gap-3xs">
|
||||
<span class="wa-heading-m">Click to upload a new profile picture.</span>
|
||||
@error('avatar')
|
||||
<span class="wa-caption-m">{{ $message }}</span>
|
||||
@enderror
|
||||
</div>
|
||||
<input id="avatar" type="file" wire:model.live="avatar" wire:loading.attr="disabled" style="opacity: 0;" />
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<wa-divider></wa-divider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue