@extends('front.layouts.app-auth') @push('page_css') @endpush @section('content')
@include('front.components.breadcrumbs', ['currentPage' => 'Profile'])

My Profile

Update your personal information and preferences.

@csrf

Account Basic

Your basic account information.

Click to Upload or drag and drop

(Max, File size: 25 MB)

{{-- Hidden input to mark avatar for deletion --}} {{-- Existing Profile Image Display --}} @if(isset($user->avatar['original']) && $user->profile_pic)
Current Profile Photo

Current Profile Photo

@endif
Email cannot be changed
Phone cannot be changed

Athlete Profile

Details about your sports background.

{{-- Location Fields (hidden for Fan role) --}}
Click to Upload or drag and drop

(Max, File size: 25 MB)

{{-- Existing Document Display --}} @php $document = $user->document; $hasDocument = $document && isset($document['original']) && $document['id'] > 0; $isImage = $hasDocument && isset($document['file_mime']) && strpos($document['file_mime'], 'image/') === 0; @endphp @if($hasDocument)

Current Document

@if($isImage) {{-- Show image with download button --}} @else {{-- Show download link for non-image files --}}
{{ $document['file_name'] ?? 'Document' }} @if(isset($document['file_ext'])) {{ strtoupper($document['file_ext']) }} File @endif
Download
@endif
@endif

Preferences & Agreements

Customize your notification settings.

Email
SMS
Push Notifications

Change Password

Update your account password.

{{-- Image Cropper Modal for Profile Photo --}}
@endsection @push('page_script') @endpush