@extends('layouts.user') @section('title', $nurse->id === (auth()->id() ?? null) ? 'My Timeline' : $nurse->name . ' – Timeline') @php $tab = request('tab', $tab ?? 'posts'); $isOwnTimeline = auth()->check() && $nurse->id === auth()->id(); $timelineUrl = $isOwnTimeline ? route('nurse.connect.timeline') : route('nurse.connect.timeline.user', $nurse); @endphp @push('styles') @endpush @section('content')
{{-- LEFT SIDEBAR --}} {{-- MAIN --}}
{{-- Banner --}}
{{ $nurse->name }}

{{ $nurse->name }}

{{ $profile?->primary_specialty ?? 'User' }} · {{ $profile?->country ?? 'Location n/a' }} · {{ $profile?->experience_years ? $profile->experience_years . ' yrs' : 'Experience n/a' }}

@if($profile?->headline)

{{ $profile->headline }}

@endif View full profile →
@auth
@csrf
@endauth
{{ $stats['connections'] }} Connections {{ $stats['posts'] }} Posts {{ $stats['countries'] }} Countries in Network {{ $stats['conversations'] }} Conversations
Posts Replies @if($supportsLikes) Liked @endif
{{-- Feed --}}
@if($tab === 'replies') @forelse($items as $reply)

Reply to {{ $reply->post->author->name ?? 'Unknown' }}

{{ $reply->body }}

@if($reply->post)

{{ $reply->post->author->name ?? 'Unknown' }}

{{ $reply->post->body }}

@endif
@empty
You haven’t replied to any posts yet.
@endforelse {{ $items->links() }} @elseif($tab === 'liked') @forelse($items as $post) @include('nurse.connect.partials.post-card', ['post' => $post]) @empty
No liked posts yet.
@endforelse {{ $items->links() }} @else @forelse($items as $post) @include('nurse.connect.partials.post-card', ['post' => $post]) @empty
You haven’t posted yet. Share your first experience or question to get started.
@endforelse {{ $items->links() }} @endif
{{-- RIGHT SIDEBAR --}}
@endsection