@props([ 'noticia', ]) @php $slugDate = date('d-m-Y', strtotime($noticia->created_at)); $noticiaUrl = route('paginas.slug', [$slugDate, $noticia->slug]); $titulo = html_entity_decode($noticia->title, ENT_QUOTES, 'UTF-8'); $resumo = html_entity_decode($noticia->summary, ENT_QUOTES, 'UTF-8'); $capaPadrao = asset('/pmar/assets/img/angra-default.png'); $capaPath = ltrim((string) ($noticia->featuredPhoto ?? ''), '/'); $capa = $capaPath !== '' && file_exists(public_path($capaPath)) ? asset($noticia->featuredPhoto) : $capaPadrao; @endphp
{{ __('Capa da notícia') }}: {{ strip_tags($titulo) }}

{{ $titulo }}

{{ Str::limit(strip_tags($resumo), 120) }}