@extends('frontend.layouts.app') @section('title', 'Profile Details') @section('content')
@include('_message')
{{-- --}}
@if (!empty($profilePublicPhotos)) Profile Photo @else Default Profile @endif
@if (isset($profilePublicPhotos) && count($profilePublicPhotos) > 1)
    @foreach ($profilePublicPhotos as $index => $photo) @if ($index >= 0)
  • @endif @endforeach
@foreach ($profilePublicPhotos as $index => $photo) @if ($index >= 0)
@endif @endforeach
@else

No More Photos Available

@endif
    @php $fullName = optional($results)->name ?? 'N/A'; $nameParts = explode(' ', $fullName, 2); $firstName = $nameParts[0] ?? 'N/A'; $lastName = $nameParts[1] ?? 'N/A'; @endphp
  • First Name:

    {{ $firstName }}
  • Last Name:

    {{ $lastName }}
  • Gender :

    {{ optional($results)->gender ?? 'N/A' }}
  • Age :

    {{ optional($results) && optional($results)->age ? optional($results)->age . ' Yrs' : 'N/A' }}
  • @if ($canSeeDetails)
  • Email :

    {{ optional($results)->email ?? 'N/A' }}
  • Contact Details :

    {{ optional($results)->mobile_no ?? 'N/A' }}
  • @endif
  • Marital Status :

    {{ optional($results)->profileMaritalStatus ?? 'N/A' }}
  • Height :

    {{ optional($results)->height ?? 'N/A' }}
  • Looking For :

    {{ optional($results)->looking_for ?? 'N/A' }}
  • Interested :

    @if ($interestExists && $interestReceived) Like Received! @elseif ($interestExists) Like already sent! @elseif ($interestReceived) Like Received! @else @endif
  • Interest Status :

    @if ($interestExists) @php switch ($interestStatus) { case 'pending': $badgeClass = 'bg-[#FFECD6] w-[95px] text-xs text-center p-1 px-3 text-[#CA7718] rounded-sm capitalize'; $badgeText = 'Pending'; break; case 'rejected': $badgeClass = 'bg-[#FFEFEF] w-[250px] text-xs text-center p-1 px-3 text-[#FF0000] rounded-sm capitalize'; $badgeText = 'User has been notified of your interest'; break; case 'ignored': $badgeClass = 'bg-[#FFECD6] w-[250px] text-xs text-center p-1 px-3 text-[#CA7718] rounded-sm capitalize'; $badgeText = 'User has been notified of your interest'; break; case 'accepted': $badgeClass = 'bg-[#D6FFDD] w-[95px] text-xs text-center p-1 px-3 text-[#18942F] rounded-sm capitalize'; $badgeText = 'Accepted'; break; default: $badgeClass = 'bg-gray-200 w-[95px] text-xs text-center p-1 px-3 text-gray-600 rounded-sm capitalize'; $badgeText = 'Unknown'; break; } @endphp
    {{ $badgeText }}
    @elseif ($interestReceived) Please check the Likes Received section in your profile! @else
    You have never sent interest to this user.
    @endif
{{-- About Myself Tab --}} {{-- Family Tab --}} {{-- Partner Prefrences tab --}}
@push('scripts') @endpush @endsection