{{-- Like button absolutely positioned top-right, matching event card full view --}}
@livewire('reaction-button', [
'typeName' => 'like',
'showCounter' => true,
'reactionCounter' => $call->loveReactant?->reactionCounters->firstWhere('reaction_type_id', 3)?->count ?? 0,
'modelClass' => \App\Models\Call::class,
'modelId' => $call->id,
'size' => 'w-10 h-10',
'inverseColors' => true,
'redirectUrl' => url()->current(),
], key('like-call-' . $call->id))
{{-- Tag category badges + expiry --}}
@foreach ($tagCategories as $cat)
{{ $cat['name'] }}
@endforeach
@if ($call->till)
{{ __('Expires') }}: {{ $call->till->translatedFormat('l d F Y') }}
@endif
@if ($call->is_suppressed)
{{ __('Publication blocked due to policy violation') }}
@else
@endif
{{-- Title (tag name) --}}
@if ($isDeleted){{ __('DELETED') }}: @elseif ($call->is_suppressed){{ __('BLOCKED') }}: @elseif ($call->is_paused){{ __('PAUSED') }}: @elseif ($isExpired){{ __('EXPIRED') }}: @endif{{ $call->tag?->translation?->name ?? $call->tag?->name }}
{{-- Location + expiry badges --}}
@if ($callLocation || $expiryBadgeText)
@if ($callLocation)
{{ $callLocation }}
@endif
@if ($expiryBadgeText)
{{ $expiryBadgeText }}
@endif
@endif
{{-- Content --}}
@if ($call->translations->first()?->content)
{{ $call->translations->first()->content }}
@endif
{{-- Callable profile block — no profile link for guests; photo blurred per config --}}
@if ($call->callable?->name || $callableLocation)
@if ($call->callable?->profile_photo_url)
@endif
{{ $call->callable?->name }}
@if ($callableLocation)
{{ $callableLocation }}
@endif
@endif
{{-- Social share + respond button --}}
{{-- Social share buttons (left, only when public) --}}
@if ($call->is_public)
{!! Share::mastodon()
->bluesky()
->linkedin()
->instagram()
->facebook()
->whatsapp()
->text($call->tag?->translation?->name ?? $call->tag?->name ?? '')
->render() !!}
@endif
{{-- Respond button (right) --}}
{{ __('Respond') }}