{{ __('Profile Information') }}
{{ __('Part 2 - Optional Information') }}

{{ __('This information helps others get to know you better. Everything here is optional and can be changed at any time.') }}

@csrf @method('patch') @php $profileType = $profile->profile_type ?? 'self'; @endphp {{-- ── Group 1: Public info ───────────────────────────────────────── --}}
{{-- About me --}}
@include('events._rtf-editor', [ 'fieldName' => 'about_me', 'initialContent' => old('about_me', $profile->about_me), 'minHeight' => '8rem', ])

{{ __('Sharing contact details is not allowed.') }}

{{-- Occupation / Education --}}
{{-- Interests picker ──────────────────────────────────────────────── --}} @php $locale = app()->getLocale(); $selectedSlugs = old('interest_tags', $profile->interestTagSlugs ?? []); $tagLabelsJson = $interestCategories ->flatMap(fn($c) => $c->tags->mapWithKeys(fn($t) => [$t->slug => $t->nameInLocale($locale)])) ->toJson(); @endphp
{{-- Header --}}
{{-- Hidden inputs are created by the interestPicker Alpine component via _addHidden() --}} {{-- Dismissible pills of selected tags --}}
{{-- Accordion (16 categories; server-rendered checkboxes for draft/form restore) --}}
@foreach ($interestCategories as $cat) @php $catSlugs = $cat->tags->pluck('slug')->all(); @endphp
@foreach ($cat->tags as $tag) @endforeach
@endforeach
{{-- CSV summary of selected tags (informational readout) --}}

{{-- Free-form extra interests --}}

{{ __('Anything not in the list above? Add it here.') }}

{{-- /group 1 --}} {{-- Visibility divider --}}
{{ __('The data you can enter above is visible to everyone.') }}
{{ __('The data you can enter below is optional and is only visible to Premium members. It also helps to improve your matches.') }}
{{-- ── Group 2: Matching preferences ──────────────────────────────── --}}

{{ __('What are you looking for?') }}

{{-- I'm looking for --}}
{{ __("I'm looking for") }} @php $selectedLookingFor = old('looking_for', $profile->looking_for ?? []); $lookingForOptions = $profileType === 'parent' ? ['man' => __('Boy'), 'woman' => __('Girl'), 'other' => __('Other')] : ['man' => __('Man'), 'woman' => __('Woman'), 'other' => __('Other')]; @endphp
@foreach($lookingForOptions as $val => $label) @endforeach
{{-- Age range --}}
{{ __('Aged between') }}
{{ __('and') }}
{{-- Connection purpose — only shown for 'self' profiles. Parent/partner types have an implicit purpose, so this section is omitted. For 'self', the two parent/partner-specific options are also excluded. --}} @if($profileType === 'self')
{{ __("I'm looking to connect for the purpose of") }} @php $purposeOptions = [ 'activities' => __('Doing activities together'), 'online_contact' => __('Online contact / pen pal'), 'friendship' => __('Friendship'), 'romance' => __('Romantic relationship'), 'find_mentor' => __('Finding a mentor'), 'professional' => __('Professional / networking'), 'mentor' => __('Becoming a mentor'), ]; $selectedPurpose = old('connection_purpose', $profile->connection_purpose ?? []); @endphp
@foreach($purposeOptions as $val => $label) @endforeach
@endif
{{-- /group 2 --}} {{-- ── Group 3: Contact ───────────────────────────────────────────── --}}

{{ __('Contact') }}

{{-- Phone --}}

{{ __('For push notifications only — never shown on your profile.') }}

{{-- Social media --}}
{{ __('My social media') }}
@foreach ([ ['social_facebook', 'Facebook', 'facebook.com'], ['social_instagram', 'Instagram', 'instagram.com'], ['social_pinterest', 'Pinterest', 'pinterest.com'], ['social_tiktok', 'TikTok', 'tiktok.com'], ['social_tumblr', 'Tumblr', 'tumblr.com'], ['social_vimeo', 'Vimeo', 'vimeo.com'], ['social_x', 'X', 'x.com'], ['social_youtube', 'YouTube', 'youtube.com'], ] as [$field, $label, $domain])
@endforeach
{{-- /group 3 --}} {{-- ── Group 4: ND profile ─────────────────────────────────────────── --}}

{{ __('Your ND profile') }}

{{-- Diagnoses / Traits --}}
{{ match($profileType) { 'parent' => __("My child's diagnoses / traits"), 'partner' => __("My partner's diagnoses / traits"), default => __('My diagnoses / traits'), } }} @php $diagnosisBase = [ 'autism' => __('Autism'), 'adhd' => __('AD(H)D'), 'giftedness' => __('Giftedness'), 'intellectual_disability' => __('Intellectual disability'), 'dyslexia' => __('Dyslexia'), 'dyscalculia' => __('Dyscalculia'), 'dyspraxia' => __('Dyspraxia'), 'tourette' => __('Tourette syndrome'), 'ocd' => __('OCD'), 'sensory_processing' => __('Sensory processing'), 'synesthesia' => __('Synesthesia'), 'anxiety_disorder' => __('Anxiety disorder'), 'ptsd' => __('PTSD'), 'abi' => __('Acquired brain injury (ABI)'), ]; // For self profiles, prepend "I'm neurotypical" as the first option. $diagnosisOptions = $profileType === 'self' ? ['neurotypical' => __("I'm neurotypical")] + $diagnosisBase : $diagnosisBase; $selectedDiagnoses = old('diagnoses', $profile->diagnoses ?? []); @endphp
@foreach($diagnosisOptions as $val => $label) @endforeach
{{-- Strengths --}}
{{ match($profileType) { 'parent' => __('My child has strengths in'), 'partner' => __('My partner has strengths in'), default => __('I have strengths in'), } }} @php $strengthOptions = [ 'cognitive' => __('Cognitive skills'), 'creative' => __('Creative skills'), 'social' => __('Social skills'), 'self_management' => __('Organisation & self-management'), 'adaptability' => __('Adaptability & resilience'), 'tech' => __('IT & programming'), 'analytical' => __('Mathematics & analytical thinking'), 'science' => __('Science & research'), 'music' => __('Music'), 'technical' => __('Technical & craftsmanship'), 'nature' => __('Nature & animals'), 'writing' => __('Writing & storytelling'), 'languages' => __('Languages'), ]; $selectedStrengths = old('strengths', $profile->strengths ?? []); @endphp
@foreach($strengthOptions as $val => $label) @endforeach
{{-- Challenges --}}
{{ match($profileType) { 'parent' => __('My child experiences challenges related to'), 'partner' => __('My partner experiences challenges related to'), default => __('I experience challenges related to'), } }} @php $challengeOptions = [ 'attention_concentration' => __('Attention & concentration'), 'sensory_sensitivity' => __('Sensory sensitivity'), 'information_processing' => __('Processing information'), 'emotion_regulation' => __('Emotion regulation'), 'energy_pacing' => __('Energy & pacing'), 'social_attunement' => __('Reading social situations'), 'structure_predictability' => __('Need for structure or predictability'), ]; $selectedChallenges = old('challenges', $profile->challenges ?? []); @endphp
@foreach($challengeOptions as $val => $label) @endforeach
{{-- Social energy ──────────────────────────────────────────────────── --}}

{{ __('How often do you prefer social contact? 1 = rarely, 10 = daily.') }}

{{-- Visual button grid --}}
@for ($i = 1; $i <= 10; $i++) @endfor
{{-- Communication style ─────────────────────────────────────────────── --}} @php $commStyleOptions = [ 'direct' => ['label' => __('Direct'), 'desc' => __('Straightforward, no beating around the bush')], 'careful' => ['label' => __('Careful'), 'desc' => __('Considerate, gentle, not too blunt')], 'elaborate' => ['label' => __('Elaborate'), 'desc' => __('In-depth, long messages, lots of detail')], 'brief' => ['label' => __('Brief'), 'desc' => __('Short messages, to the point')], 'frequent' => ['label' => __('Frequent'), 'desc' => __('Many messages throughout the day')], 'minimal' => ['label' => __('Minimal'), 'desc' => __('Few messages, only when needed')], ]; $selectedCommStyles = old('communication_style', $profile->communication_style ?? []); @endphp
{{ __('Communication style') }}

{{ __('How do you prefer to communicate? Choose everything that applies.') }}

@foreach ($commStyleOptions as $val => $item) @endforeach
{{-- /group 4 --}} {{-- Hidden submit trigger voor de centrale Save-knop in de bottom bar --}}
{{-- MBTI badge (read-only, link to test page) --}}

{{ __('Personality type (MBTI)') }}

@if ($profile->mbti_type)

{{ $profile->mbti_type }} @if (isset(config('mbti.types')[$profile->mbti_type])) — {{ __(config('mbti.types')[$profile->mbti_type]['name']) }} @endif

@else

{{ __('Not completed yet') }}

@endif
{{-- Sensory profile --}}

{{ __('Sensory profile') }}

@if ($hasSensoryProfile) {{ __('Filled in') }} @else {{ __('Not filled in yet') }} @endif