@extends('layouts.app')
@section('admin_title', 'Admin Dashboard')
@section('content')
Live System Overview
Welcome back, {{ ucfirst(session('admin_username', 'Administrator')) }}
Monitor your institutions, learners, curriculum, and assessment bank from one unified executive workspace.
@foreach([
'courses' => [
'icon' => 'fa-book',
'accent' => '#2dd4bf',
'glow' => 'rgba(45, 212, 191, 0.28)',
'iconBg' => 'rgba(45, 212, 191, 0.14)',
'iconBorder' => 'rgba(45, 212, 191, 0.32)',
'sub' => 'Active learning tracks',
'route' => 'admin.courses.viewList',
],
'students' => [
'icon' => 'fa-user-graduate',
'accent' => '#fb7185',
'glow' => 'rgba(251, 113, 133, 0.28)',
'iconBg' => 'rgba(251, 113, 133, 0.14)',
'iconBorder' => 'rgba(251, 113, 133, 0.32)',
'sub' => 'Enrolled learners',
'route' => 'admin.students.select',
],
] as $key => $data)
{{ number_format((int) (${'total'.ucfirst($key)} ?? 0)) }}
{{ ucfirst($key) }}
{{ $data['sub'] }}
@endforeach
@endsection