= d63489ea33 refactor: replace flux components with maryUI equivalents and update Blade templates
- Replaced deprecated `flux` components with `maryUI` counterparts (`flux:input` → `x-mary-input`, `flux:button` → `x-mary-button`, etc.).
- Removed unused partials (`settings-heading.blade.php`) and outdated structures from Blade files.
- Adjusted Livewire modal, form, and button implementations for consistency with `maryUI`.
- Streamlined layout and theme styling for improved maintainability and readability.
2026-05-18 09:49:14 +00:00

35 lines
1.4 KiB
PHP

<section class="w-full">
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
<x-mary-input wire:model="name" :label="__('Name')" type="text" required autofocus autocomplete="name"/>
<div>
<x-mary-input wire:model="email" :label="__('Email')" type="email" required autocomplete="email"/>
@if ($this->hasUnverifiedEmail)
<div>
<div class="mt-4">
{{ __('Your email address is unverified.') }}
<div class="text-sm cursor-pointer"
wire:click.prevent="resendVerificationNotification">
{{ __('Click here to re-send the verification email.') }}
</div>
</div>
</div>
@endif
</div>
<div class="flex items-center gap-4">
<x-mary-button class="btn-primary" spinner="updateProfileInformation"
type="submit">{{ __('Save') }}</x-mary-button>
</div>
</form>
@if ($this->showDeleteUser)
<livewire:settings.delete-user-form/>
@endif
</x-settings.layout>
</section>