@php
$currentProfileImage = '';
if ($user->profile_picture && file_exists(public_path('storage/' . $user->profile_picture))) {
$currentProfileImage = asset('storage/' . $user->profile_picture);
} else {
$extensions = ['png', 'jpg', 'jpeg', 'webp'];
foreach ($extensions as $ext) {
$path = 'storage/images/profiles/profile_' . $user->id . '.' . $ext;
if (file_exists(public_path($path))) {
$currentProfileImage = asset($path);
break;
}
}
}
@endphp
@if($currentProfileImage)

@else
@endif
Your Athletic Identity
Make Your Profile Stand Out!
Your profile picture is your athletic CV and first impression. Use a clear, professional photo to help coaches and teammates recognize you!
Quick Tips
- Recent, high-quality
- Face clearly visible
- Professional look
- Good lighting
Actions
@error('full_name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('mobile')
{{ $message }}
@enderror
@error('gender')
{{ $message }}
@enderror
@error('marital_status')
{{ $message }}
@enderror
@error('blood_type')
{{ $message }}
@enderror
@if($showRelationshipFields && $relationship)
@error('relationship_type')
{{ $message }}
@enderror
is_billing_contact ?? false) ? 'checked' : '' }}>
@endif
Social Media Links
@php
$existingLinks = old('social_links', $user->social_links ?? []);
if (!is_array($existingLinks)) {
$existingLinks = [];
}
$formLinks = [];
foreach ($existingLinks as $platform => $url) {
$formLinks[] = ['platform' => $platform, 'url' => $url];
}
@endphp
@foreach($formLinks as $index => $link)
@include('components.social-link-row', ['index' => $index, 'link' => $link])
@endforeach
Share a personal motto or quote that inspires you.
@error('motto')
{{ $message }}
@enderror