@php
parse_str($data, $module);
$entityId = (isset($module['entityId']) && is_numeric($module['entityId'])) ? $module['entityId'] : 0;
$quantity = (isset($module['quantity']) && is_numeric($module['quantity'])) ? (int)$module['quantity'] : 5;
@endphp
@if(empty($news) || count($news) == 0)
Nenhuma notícia cadastrada
@else
@foreach($news as $new)
@if($catName != '')
{{ $catName }}
@endif
{{ mb_strimwidth($new->title, 0, 125, "...") }}
{{ date('d/m/Y H:i', strtotime($new->created_at)) }}
@endforeach
Ver todas as notícias
@endif