@php $meta_titles = [ 'company_id' => __('Company'), 'product_id' => __('Product'), 'campaign_id' => __('Campaign'), 'tone' => __('Tone'), 'link' => __('URL'), ]; @endphp

$post['status'] === 'published', 'text-yellow-700' => $post['status'] === 'scheduled', ])> @if ($post['status'] === \App\Extensions\SocialMedia\System\Enums\StatusEnum::published) @elseif ($post['status'] === \App\Extensions\SocialMedia\System\Enums\StatusEnum::scheduled) @else @endif @lang(str()->title($post->status->value))

{{ $post['content'] }}

@php $image = 'vendor/social-media/icons/' . $post->platform?->platform . '.svg'; $image_dark_version = 'vendor/social-media/icons/' . $post->platform?->platform . '-light.svg'; @endphp
file_exists($image_dark_version), ]) src="{{ asset($image) }}" alt="{{ $post->platform?->platform }}" /> @if (file_exists($image_dark_version)) @endif
@if ($post['image'] || $post['video']) @if ($post['image']) {{ __('Social Media Post Image') }} @elseif($post['video']) @endif @endif

{{ $post['content'] }}

@if ($post['link']) @lang('View Post on ') {{ str()->title($post->platform?->platform) }} @endif @lang('Delete')