@extends('layouts.admin') @section('title','Dashboard') @section('content')

📊 Dasbor

Platform Monitoring Risiko Rantai Pasok Global - Sistem Monitoring

Total Negara

{{ number_format($totalCountries) }}

{{ $totalContinents }} Benua
Log Cuaca

{{ number_format($totalWeather) }}

Monitoring Aktif
Nilai Tukar

{{ number_format($totalExchange) }}

Data Real-time
Rekaman Ekonomi

{{ number_format($totalEconomy) }}

World Bank API
📊 Jumlah Negara per Benua
⚠️ Kategori Risiko Negara
Peta Negara Global
Negara Risiko Tinggi
@if($topRiskCountries && $topRiskCountries->count() > 0) @foreach($topRiskCountries->take(5) as $country)
{{ $country->name }} {{ $country->continent ?? 'N/A' }}
{{ number_format($country->risk_score, 1) }}
@endforeach @else
Tidak ada data risiko
@endif
Berita Terbaru
Lihat Semua
@if($recentNews && $recentNews->count() > 0) @foreach($recentNews->take(4) as $news)
@if($news->image_url) {{ $news->title }} @endif
{{ Str::limit($news->title, 80) }}

{{ Str::limit($news->description ?? '', 120) }}

{{ $news->published_at ? $news->published_at->format('d M Y') : 'N/A' }} @if($news->sentiment_score !== null) {{ $news->sentiment_score > 0 ? 'Positif' : ($news->sentiment_score < 0 ? 'Negatif' : 'Netral') }} @endif
@endforeach @else
Belum ada berita
@endif
@endsection @push('scripts') @endpush