@extends('admin.layout.layout') @section('content')

{{ $post->title }}

Voice Post Management

  • Title: {{ $post['title'] ?? 'N/A' }}
  • Description: {{ $post['description'] ?? 'N/A' }}
  • Category: {{ $post['category']->name ?? 'N/A' }}
  • Community: {{ $post['community']->name ?? 'N/A' }}
  • Uploaded by: {{ $post['uploaded_by'] ?? 'N/A' }}
    @if (!empty($post['media'])) @foreach ($post['media'] as $media)
  • {{-- Media Type: {{ $media['media_type'] }} --}}
    @if ($media['media_type'] == 'video') @elseif ($media['media_type'] == 'audio') @elseif ($media['media_type'] == 'doc') Document: {{ basename($media['media_link']) }} @if (str_contains($media['media_link'], '.pdf')) @else @endif @else Download File @endif
  • @endforeach @else
  • No media available for this post.
  • @endif
@endsection