{{-- Frontend customer profile — preserves profilePage() bindings; admin uses profile.details --}} @php $lastLogin = $user->last_login_at?->diffForHumans(); $memberSince = $user->created_at?->format('M Y'); @endphp
@csrf {{-- Hero identity band --}}
{{-- Avatar: upload + delete icons on hover --}}
{{ __('buttons.uploading') }}
{{-- Identity copy --}}

{{ __('pages/profile.my_profile') }}

{{ $user->full_name }}

{{ $user->email }}

@if ($memberSince)
{{ __('pages/profile.member_since') }}
{{ __('pages/profile.member_since') }} {{ $memberSince }}
@endif @if ($lastLogin)
{{ __('pages/profile.last_login') }}
{{ __('pages/profile.last_login') }} · {{ $lastLogin }}
@endif

{{ __('pages/account-setting.profile.profile_photo_info') }}

{{-- Account details --}}

{{ __('pages/account-setting.profile.title') }}

{{ __('pages/account-setting.profile.description') }}

{{ __('form.label.first_name') }}
{{ __('form.label.last_name') }}
{{ __('form.label.email') }}
{{ __('form.label.phone') }}
{{ __('form.label.bio') }}
@once @push('modals') @endpush @push('before-app-js') {!! JsValidator::formRequest('App\Http\Requests\Profile\ProfileRequest', '#profileForm') !!} {!! JsValidator::formRequest('App\Http\Requests\Profile\UploadProfileImage', '#avatarUploadForm') !!} @vite(['resources/js/user/profile.js']) @endpush @endonce