@extends('admin.master') @section('title') Dashboard @endsection @section('content')

Dashboard Overview

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{ $totalProjects }}
Total Projects
{{ $totalPrograms }}
Total Programs
{{ $totalStories ?? 0 }}
Total Stories
{{ $totalTeams ?? 0 }}
Total Team Members

Recent Projects

@forelse($recentProjects as $project) @empty @endforelse
Title Category Status
{{ Str::limit($project->title, 30) }} {{ $project->category->name ?? 'N/A' }} {{ ucfirst($project->status) }}
No projects found

Recent Programs

@forelse($recentPrograms as $program) @empty @endforelse
Title Status Last Updated
{{ Str::limit($program->title, 30) }} {{ ucfirst($program->status) }} {{ $program->updated_at->diffForHumans() }}
No programs found

Content Management Status

Content Type Last Updated Status Action
Homepage Content {{ $homePageUpdated }} {{ $homePage ? 'Configured' : 'Not Configured' }}
Overview Content {{ $overviewUpdated }} {{ $overview ? 'Configured' : 'Not Configured' }}
Mission & Vision {{ $missionVisionUpdated }} {{ $missionVision ? 'Configured' : 'Not Configured' }}
@endsection @push('scripts') @endpush