@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

{{ $readings->count() }}

Total Readings

{{ $readings->where('is_featured', true)->count() }}

Featured

{{ $readings->where('is_required', true)->count() }}

Required

{{ $categories->count() }}

Categories

@if($library->description)

Library Description

{{ $library->description }}

@endif

Readings

@forelse($readings as $reading)
{{ ucfirst(str_replace('_', ' ', $reading->reading_type)) }} @if($reading->is_featured) Featured @endif @if($reading->is_required) Required @endif
@if($reading->session_label) {{ $reading->session_label }} @endif

{{ $reading->title }}

@if($reading->description)

{{ Str::limit($reading->description, 100) }}

@endif @if($reading->category)

Category: {{ $reading->category }}

@endif @if($reading->estimated_time)

⏱️ {{ $reading->estimated_time }} min read

@endif
@empty

No readings yet

Start building your reading library by adding the first reading!

@endforelse