@if ($post != null && isset($post->slug))
@if ($media != null && method_exists($media, '__invoke'))
{{ $media('4_3', ['class' => 'absolute inset-0 z-0 h-full w-full object-cover blur-[1px]px]']) }}
@else
@endif

{{ $post->title }}

{{ $post->category }}

@if (isset($post->excerpt))

{{ $post->excerpt }}

@endif

{{ $post->author }}

{{-- @auth
@livewire('reaction-button', [ 'typeName' => 'like', 'showCounter' => true, 'reactionCounter' => $post['like_count'], 'modelClass' => $post['model'], 'modelId' => $post['id'], 'size' => 'w-10 h-10', 'inverseColors' => true, ], key('like-' . $post['model'] . '-' . $post['id'] . '-' . $postNr))
@endauth --}}
@endif