@extends('portal.layouts.master') @section('title', 'Account Settings') @section('page-title', 'Account Settings') @section('extra-css') .account-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); } .account-tab { padding: .7rem 1.25rem; cursor: pointer; background: none; border: none; outline: none; color: var(--text-secondary); font-size: .85rem; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .15s; } .account-tab:hover { color: var(--text-primary); } .account-tab.active { color: var(--accent); border-bottom-color: var(--accent); } .account-tab i { margin-right: .4rem; } .tab-panel { display: none; } .tab-panel.active { display: block; } .notif-grid { display: grid; gap: 0; } .notif-row { display: grid; grid-template-columns: 1fr repeat(3, 80px); align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); } .notif-row.header { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; } .notif-label { font-size: .85rem; font-weight: 500; } .notif-label small { display: block; font-size: .72rem; color: var(--text-muted); font-weight: 400; margin-top: .1rem; } .notif-check { text-align: center; } .notif-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; } @endsection @section('content')
{{-- Tabs --}} {{-- ═══ Personal Info Tab ═══ --}}
Personal Information

Update your contact details and address

@csrf
Contact support to change your name
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
KYC Status: @php $ks = $client->kyc_status; $kc = ['not_submitted'=>'secondary','pending'=>'warning','under_review'=>'info','approved'=>'success','rejected'=>'danger']; @endphp {{ ucwords(str_replace('_',' ',$ks)) }}
{{-- ═══ Password Tab ═══ --}}
Change Password

Update your portal login password

@if($errors->has('current_password'))
{{ $errors->first('current_password') }}
@endif
@csrf
Minimum 8 characters
Passkeys

Sign in with your fingerprint, Face ID, or device PIN. Add this device as a passkey (you can have more than one).

Registered on this account: {{ $client->web_authn_credentials_count }}

Requires a device or browser with WebAuthn (most modern phones and desktop browsers).

{{-- ═══ Notifications Tab ═══ --}}
Notification Preferences

Choose how you'd like to receive notifications for each category

@php $prefs = $client->notification_prefs ?? []; @endphp
@csrf
{{-- Header --}}
Category
Email
SMS
Desktop
{{-- Marketing --}}
Marketing Promotions, offers, and company news
{{-- Trading Analysis --}}
Trading Analysis Market reports, signals, and expert insights
{{-- Price Alert --}}
Price Alert Notifications when instruments hit your target price
@endsection @section('page-js') @endsection