@props(['note']) @php $hasAccess = ! $note->is_paid || (Auth::check() && Auth::user()->hasAccessToNote($note)); @endphp
{{ $note->category->name }} @if($note->is_paid) Premium @if($note->price) (TK {{ number_format($note->price, 0) }}) @endif @endif
{{ $note->created_at->format('M Y') }}

{{ $note->title }}

@if($note->type === 'image')
{{ $note->title }}
@if(!$hasAccess)
@endif
@else

"{{ Str::limit(strip_tags($note->content), 150) }}"

@endif
{{ number_format($note->view_count) }}
View Entry