feat: remove notification settings section from account page and reformat input attributes.

This commit is contained in:
Yoga Pangestu 2026-01-04 21:52:47 +07:00
parent 096a7b384b
commit ca01d8a8ed

View File

@ -27,8 +27,8 @@
<flux:field> <flux:field>
<flux:label>Email <span class="text-red-500 ms-1">*</span></flux:label> <flux:label>Email <span class="text-red-500 ms-1">*</span></flux:label>
<flux:input placeholder="info.pangestuyoga@gmail.com" <flux:input placeholder="info.pangestuyoga@gmail.com" wire:model="accountForm.email"
wire:model="accountForm.email" autocomplete="off" /> autocomplete="off" />
<flux:error name="accountForm.email" /> <flux:error name="accountForm.email" />
</flux:field> </flux:field>
@ -68,8 +68,7 @@
<flux:field> <flux:field>
<flux:label>Nama Lengkap <span class="text-red-500 ms-1">*</span> <flux:label>Nama Lengkap <span class="text-red-500 ms-1">*</span>
</flux:label> </flux:label>
<flux:input placeholder="John Doe" <flux:input placeholder="John Doe" wire:model="profileForm.full_name" autofocus
wire:model="profileForm.full_name" autofocus
autocomplete="off" /> autocomplete="off" />
<flux:error name="profileForm.full_name" /> <flux:error name="profileForm.full_name" />
</flux:field> </flux:field>
@ -93,8 +92,8 @@
<flux:field> <flux:field>
<flux:label>Tanggal Lahir <span class="text-red-500 ms-1">*</span></flux:label> <flux:label>Tanggal Lahir <span class="text-red-500 ms-1">*</span></flux:label>
<flux:date-picker with-today wire:model="profileForm.birthdate" <flux:date-picker with-today wire:model="profileForm.birthdate" placeholder="Pilih Tanggal"
placeholder="Pilih Tanggal" autocomplete="off" locale="id-ID" selectable-header /> autocomplete="off" locale="id-ID" selectable-header />
<flux:error name="profileForm.birthdate" /> <flux:error name="profileForm.birthdate" />
</flux:field> </flux:field>
@ -103,8 +102,7 @@
<div class="md:col-span-2"> <div class="md:col-span-2">
<flux:textarea label="Alamat" <flux:textarea label="Alamat"
placeholder="Jl. Taman Pahlawan No.41, Nagri Kaler, Kec. Purwakarta, Kabupaten Purwakarta, Jawa Barat 41119" placeholder="Jl. Taman Pahlawan No.41, Nagri Kaler, Kec. Purwakarta, Kabupaten Purwakarta, Jawa Barat 41119"
wire:model="profileForm.address" autocomplete="off" wire:model="profileForm.address" autocomplete="off" rows="2" />
rows="2" />
</div> </div>
<flux:field> <flux:field>
@ -146,22 +144,21 @@ class="w-full *:flex-1">
<div class="flex-1 space-y-6"> <div class="flex-1 space-y-6">
<flux:field> <flux:field>
<flux:label>Kata Sandi Saat Ini <span class="text-red-500 ms-1">*</span></flux:label> <flux:label>Kata Sandi Saat Ini <span class="text-red-500 ms-1">*</span></flux:label>
<flux:input placeholder="********" type="password" <flux:input placeholder="********" type="password" wire:model="passwordForm.current_password"
wire:model="passwordForm.current_password" viewable /> viewable />
<flux:error name="passwordForm.current_password" /> <flux:error name="passwordForm.current_password" />
</flux:field> </flux:field>
<flux:field> <flux:field>
<flux:label>Kata Sandi Baru <span class="text-red-500 ms-1">*</span></flux:label> <flux:label>Kata Sandi Baru <span class="text-red-500 ms-1">*</span></flux:label>
<flux:input placeholder="********" type="password" <flux:input placeholder="********" type="password" wire:model="passwordForm.new_password" viewable />
wire:model="passwordForm.new_password" viewable />
<flux:error name="passwordForm.new_password" /> <flux:error name="passwordForm.new_password" />
</flux:field> </flux:field>
<flux:field> <flux:field>
<flux:label>Konfirmasi Kata Sandi <span class="text-red-500 ms-1">*</span></flux:label> <flux:label>Konfirmasi Kata Sandi <span class="text-red-500 ms-1">*</span></flux:label>
<flux:input placeholder="********" type="password" <flux:input placeholder="********" type="password" wire:model="passwordForm.new_confirm_password"
wire:model="passwordForm.new_confirm_password" viewable /> viewable />
<flux:error name="passwordForm.new_confirm_password" /> <flux:error name="passwordForm.new_confirm_password" />
</flux:field> </flux:field>
@ -174,35 +171,4 @@ class="w-full *:flex-1">
@endcan @endcan
</div> </div>
</div> </div>
<flux:separator variant="subtle" class="my-8" />
<div class="flex flex-col lg:flex-row gap-4 lg:gap-6 pb-10">
<div class="w-80">
<flux:heading size="lg">Notifikasi</flux:heading>
<flux:subheading>Izinkan notifikasi untuk menerima pemberitahuan.</flux:subheading>
</div>
<div class="flex-1 space-y-6">
<flux:fieldset class="space-y-4">
<flux:switch checked label="Communication emails"
description="Receive emails about your account activity." />
<flux:separator variant="subtle" />
<flux:switch checked label="Marketing emails"
description="Receive emails about new products, features, and more." />
<flux:separator variant="subtle" />
<flux:switch label="Social emails"
description="Receive emails for friend requests, follows, and more." />
<flux:separator variant="subtle" />
<flux:switch label="Security emails"
description="Receive emails about your account activity and security." />
</flux:fieldset>
</div>
</div>
</flux:main> </flux:main>