@extends('layouts.app') @section('title', $member->name . ' — KiruDev Technologies') @section('content')
← Meet the Team
{{-- Avatar --}} @if($member->photo) {{ $member->name }} @else @php $deptColors=['executive'=>'indigo','technical'=>'blue','marketing'=>'emerald','support'=>'amber']; @endphp
{{ strtoupper(substr($member->name,0,1)) }}{{ strtoupper(substr(explode(' ',$member->name)[1]??'',0,1)) }}
@endif {{-- Info --}}
@php $deptLabels=['executive'=>'Executive Management','technical'=>'Technical & Security','marketing'=>'Marketing & Growth','support'=>'Customer Care & Support']; @endphp

{{ $deptLabels[$member->department] ?? ucfirst($member->department) }}

{{ $member->name }}

{{ $member->role }}

@if($member->bio)

{{ $member->bio }}

@endif {{-- Skills --}} @if($member->skills && count($member->skills))
@foreach($member->skills as $skill) {{ $skill }} @endforeach
@endif {{-- Social links --}}
@if($member->email) Email @endif @if($member->linkedin) LinkedIn ↗ @endif @if($member->github) GitHub ↗ @endif @if($member->twitter) Twitter ↗ @endif
{{-- Blog posts by this member --}} @if($posts->count())

Articles by {{ $member->name }}

@endif @endsection