@foreach($resources as $data)
@if(in_array($data->extension, ['txt']))
{{-- {{ $data->original_file_name }} @if(Auth::user()->id == $data->member_id) × @endif --}}
@endif @if(in_array($data->extension, ['pdf']))
{{-- {{ $data->original_file_name }} @if(Auth::user()->id == $data->member_id) × @endif --}}
@endif @if(in_array($data->extension, ['doc', 'docx']))
{{-- {{ $data->original_file_name }} @if(Auth::user()->id == $data->member_id) × @endif --}}
@endif @if(in_array($data->extension, ['xls','xlsx'])) {{-- {{ $data->original_file_name }} @if(Auth::user()->id == $data->member_id) × @endif --}} @endif @php $array_img[] = $data->file_name; @endphp @if (in_array($data->extension, ['png','jpeg','jpg','image','jfif'])) @endif

{{ $data->description}}

{{-- --}}
@endforeach {{--

Card

With supporting text.

Outline

Card

With supporting some more text below as a natural lead-in to additional content.

Outline

Card

lead-in to additional content.

Outline

Card

With supporting text below as a natural lead-in to additional content and more spporting text below ... content. additional content.

Outline

Card

With more more more supporting text.

Outline

Card

With supporting text.

Outline
--}}
{{ $resources->appends(request()->query())->links() }}