@extends('public.layouts.app') @section('title', $noticia->titulo) @section('content')
Inicio Publicaciones {{ $noticia->tipo_label }}
{{ $noticia->tipo_label }}

{{ $noticia->titulo }}

{{ $noticia->fecha_publicacion->isoFormat('D [de] MMMM [de] YYYY') }} @if($noticia->destacado) Destacado @endif
@if($noticia->imagen) {{ $noticia->titulo }} @endif
@if($noticia->resumen)

{{ $noticia->resumen }}

@endif {!! $noticia->contenido !!}
{{-- ── BOTONES DE ENLACE ── --}} @if($noticia->botones && count($noticia->botones) > 0) @php $botonesPublicos = collect($noticia->botones)->filter(fn($b) => !empty($b['url'])); @endphp @if($botonesPublicos->count() > 0)
@foreach($botonesPublicos as $btn) @php $color = $btn['color'] ?? '#1565c0'; $texto = $btn['texto'] ?? 'Ver más'; $url = $btn['url']; // Calcular color oscuro para el hover (shadow) @endphp {{ $texto }} @endforeach
@endif @endif
Compartir: WhatsApp Facebook Volver
@endsection