{{-- Breadcrumb --}}
{{ $topic->channel->community->name }} / #{{ $topic->channel->name }}
{{-- Original Topic Post --}}
{{-- Avatar Column --}}
{{ substr($topic->creator->name ?? 'U', 0, 1) }}
{{-- Content Column --}}

{{ $topic->title }}

{{ $topic->creator->name ?? 'Unknown' }} {{ $topic->created_at->format('M j, Y @ g:i A') }}
@if($topic->is_pinned) 📌 Pinned @endif
{{ $topic->body }}
{{-- Attached Media Display (Spatie Media Library) --}} @if($topic->hasMedia('resources'))

{{ __('Attachments') }}

@foreach($topic->getMedia('resources') as $media) {{ $media->name }} @endforeach
@endif
{{-- Live Presence Indicator (Added inside the main card) --}}
{{-- Interactive Replies Thread --}}

{{ __('Replies') }}

{{-- Reactive Alpine Loop --}} {{-- Quick Reply Form (AJAX via Alpine) --}}
{{ substr(auth()->user()->name, 0, 1) }}
{{-- Alpine Component Logic --}}