@foreach ($members as $member) @php $socials = []; if (! empty($member['social_links'])) { try { $decoded = json_decode($member['social_links'], true); if (is_array($decoded)) { $socials = $decoded; } } catch (\Throwable $e) { $socials = []; } } @endphp
@if (! empty($member['photo']))
{!! RvMedia::image($member['photo'], $member['name'] ?? '', 'medium', false, ['class' => 'w-100', 'loading' => 'lazy']) !!}
@endif
@if (! empty($member['name']))
{!! BaseHelper::clean($member['name']) !!}
@endif @if (! empty($member['role']))

{!! BaseHelper::clean($member['role']) !!}

@endif @if (! empty($member['bio']))

{!! BaseHelper::clean($member['bio']) !!}

@endif @if (! empty($socials)) @endif
@endforeach