@extends('layouts.app') @section('title', 'Study Materials') @section('page-title', 'Knowledge Base & Study Materials') @section('styles') @endsection @section('content')
Study Materials Library
Add New Material
@if($materials->count() > 0)
@foreach($materials as $material)
{{ ucfirst($material->category_type) }} {{ ucfirst($material->type) }}
{{ Str::limit($material->title, 50) }}

{{ Str::limit($material->description ?? 'No description', 100) }}

{{ $material->views_count }} {{ $material->downloads_count }} {{ $material->activities->count() }} used
@endforeach
{{ $materials->appends(request()->query())->links() }}
@else

No study materials found.

Add Your First Material
@endif
@endsection