{{ $user->first_name }} {{ $user->last_name }}

Archive Contributor • Member since {{ $user->created_at ? $user->created_at->format('F Y') : 'Unknown' }}

@auth @if(Auth::id() === $user->id || Auth::user()->isAdmin()) @endif @endauth
{{ $attendedCount }} {{ Str::plural('Gig', $attendedCount) }} Attended {{ $bandsCount }} {{ Str::plural('Band', $bandsCount) }} @if(isset($pendingBands) && $pendingBands->isNotEmpty()) ({{ $pendingBands->count() }} pending) @endif {{ $commentsCount }} {{ Str::plural('Memory', $commentsCount) }} Shared

{{ $user->first_name }}'s Bands

{{ $bandsCount }} @if(isset($pendingBands) && $pendingBands->isNotEmpty()) {{ $pendingBands->count() }} Pending @endif
@if($approvedBands->isNotEmpty() || (isset($pendingBands) && $pendingBands->isNotEmpty())) @else
{{ $user->first_name }} is not currently listed as a verified member of any bands.
@endif
@php $attendedEventsData = $attendedEvents->map(function ($event) { $headlineBand = $event->bands->first(); $img = $headlineBand?->firstImage(false) ?? $event->firstImage(false); if ($headlineBand) { $title = $headlineBand->name; $otherBands = $event->bands->slice(1)->pluck('name')->all(); if (count($otherBands) > 0) { $subtitle = implode(', ', $otherBands); if ($event->name && strcasecmp($event->name, $headlineBand->name) !== 0) { $subtitle .= ' • ' . $event->name; } } else { $subtitle = ($event->name && strcasecmp($event->name, $headlineBand->name) !== 0) ? $event->name : null; } } else { $title = $event->name ?? $event->f2 ?? 'Live Gig'; $subtitle = null; } return [ 'id' => $event->id, 'url' => route('gigs.show', $event->id), 'timestamp' => $event->event_date ? $event->event_date->timestamp : 0, 'date' => $event->event_date ? $event->event_date->format('D, j M Y') : 'Date TBA', 'title' => $title, 'subtitle' => $subtitle, 'headlineBand' => $headlineBand?->name, 'thumbnail' => $img ? $img->thumbnail(160, 160) : null, ]; })->values(); @endphp

Gigs {{ $user->first_name }} Was at

{{ $attendedCount }}
@if($attendedEvents->isNotEmpty()) @endif
@if($attendedEvents->isNotEmpty())
@else
{{ $user->first_name }} hasn't recorded attendance at any gigs yet.
@endif

{{ $user->first_name }}'s Memories & Comments

{{ $commentsCount }}
@if($comments->isNotEmpty())
@foreach($comments as $comment)
On @php $parent = $comment->parentable; $name = 'View Item'; $url = '#'; if ($parent) { if ($comment->parentable_type === 'App\Band') { $name = $parent->name ?? $parent->title ?? 'Band'; if (isset($parent->slug)) { $url = route('bands.show', $parent->slug); } } elseif ($comment->parentable_type === 'App\Event') { $baseName = $parent->name ?? $parent->f2 ?? 'Gig'; $date = $parent->event_date ? $parent->event_date->format('d/m/Y') : 'Unknown Date'; $name = "{$baseName} ({$date})"; $url = route('gigs.show', $parent->id); } elseif ($comment->parentable_type === 'App\Story') { $name = $parent->name ?? $parent->title ?? 'Story'; if (isset($parent->slug)) { $url = route('stories.show', $parent->slug); } } } @endphp @if($url !== '#') {{ $name }} @else Deleted or Unavailable Item @endif
{{ $comment->created_at ? $comment->created_at->diffForHumans() : '' }}

{{ trim($comment->text) ?: 'No comment text provided (image only).' }}

@if($comment->resources->isNotEmpty()) @php $commentRotations = ['-rotate-1', 'rotate-[1.5deg]', '-rotate-[1.5deg]', 'rotate-1']; @endphp
@foreach($comment->resources as $index => $resource) Attached memory {{ $index + 1 }} @endforeach
@endif
@endforeach
@if($comments->hasPages())
{{ $comments->links() }}
@endif @else
{{ $user->first_name }} hasn't posted any comments or memories yet.
@endif