@extends('layouts.admin') @section('title', 'News Intelligence') @section('breadcrumb', 'News Intelligence') @section('content')

News Intelligence

{{ $news->total() }} cached news articles

{{-- FILTERS --}}
@if($search || $countryId || $sentiment) Clear @endif
{{-- TABLE --}}
@forelse($news as $n) @empty @endforelse
# Title Country Sentiment Score Source Published
{{ $n->id }}
{{ Str::limit($n->title, 65) }}
@if($n->url && $n->url !== '#') View @endif
@if($n->country)
{{ $n->country->country_name }}
@else — @endif
{{ $n->sentiment_icon ?? '→' }} {{ $n->sentiment ?? 'Neutral' }} {{ $n->sentiment_score !== null ? number_format($n->sentiment_score, 2) : '—' }} {{ $n->source ?? '—' }} {{ $n->published_at?->format('d M Y') ?? '—' }}
No news cached yet. Click Refresh to fetch news.
@if($news->hasPages())
{{ $news->links() }}
@endif
@endsection @push('scripts') @endpush