@extends('layouts.public') @section('title', $member->name) @section('meta_description', $member->short_bio ?: $member->designation) @section('og_type', 'profile') @section('content')
@foreach ([ __('Designation') => $member->designation, __('Department') => $member->department, __('Sector') => $member->sector?->name, __('Qualification') => $member->qualification, __('Experience') => $member->experience_years ? trans_choice(':count year|:count years', $member->experience_years, ['count' => $member->experience_years]) : null, ] as $label => $value) @if (filled($value))
{{ $label }}
{{ $value }}
@endif @endforeach
@if ($member->email) {{ __('Email') }} @endif @foreach (($member->social_links ?? []) as $network => $url) @if (filled($url)) {{ ucfirst($network) }} @endif @endforeach
@if ($member->short_bio)

{{ $member->short_bio }}

@endif @if ($member->bio)
{!! $member->bio !!}
@elseif (! $member->short_bio) @endif @if ($member->sector)

{{ __('Sector expertise') }}

{{ $member->sector->name }}

@if ($member->sector->short_description)

{{ $member->sector->short_description }}

@endif {{ __('Explore the sector') }}
@endif @if ($colleagues->isNotEmpty())

{{ __('Colleagues') }}

@foreach ($colleagues as $colleague) @include('public.partials.team-card', ['member' => $colleague]) @endforeach
@endif
@endsection