@props(['member']) {{-- Reusable Speaker / Keynote / Chair card component. Matches the home page "Upcoming Keynotes and Chairs" style. Expected $member keys: img — Unsplash photo ID (optional; use 'image' for a full URL) image — Full image URL (alternative to img) name — Full name role — e.g. Keynote Speaker, Co-Chair field — Research field / discipline country — Institution & country bio — Short research blurb (optional) linkedin — URL (optional) twitter — URL (optional) --}} @php $photoUrl = isset($member['image']) ? $member['image'] : 'https://images.unsplash.com/photo-' . ($member['img'] ?? '1573496359142-b8d87734a5a2') . '?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80'; @endphp
{{-- Photo --}}
{{ $member['name'] }} {{-- Role badge overlay --}} @if(isset($member['role'])) {{ $member['role'] }} @endif
{{-- Content --}}

{{ $member['name'] }}

@if(isset($member['field']))
{{ $member['field'] }}
@endif @if(isset($member['country']))

{{ $member['country'] }}

@endif @if(isset($member['bio']) && $member['bio'])
Research Focus

{{ $member['bio'] }}

@endif {{-- Social / Profile links --}}