@extends('dashboard.layout') @section('content')

Teaching Pipeline

Manage your courses, monitor enrollments, and move drafts toward publication.

Instructor snapshot

Name
{{ auth()->user()->name }}
Email
{{ auth()->user()->email }}
Role
Instructor

Course Library

Your recent courses

Manage all
@if ($courses->isNotEmpty())
@foreach ($courses as $course)

{{ $course->title }}

{{ str_replace('_', ' ', ucfirst($course->status)) }}

{{ \Illuminate\Support\Str::limit($course->description, 110) ?: 'No description added yet.' }}

@endforeach
@else
No courses yet. Start with your first draft and build from there.
@endif

Recent Activity

Latest enrollments

@if ($recentEnrollments->isNotEmpty())
@foreach ($recentEnrollments as $enrollment)

{{ $enrollment->user->name }}

{{ $enrollment->course->title }}

{{ optional($enrollment->enrolled_at)->diffForHumans() }}

@endforeach
@else
No recent enrollments yet.
@endif
@endsection