See All Course

Learning often happens in classrooms but it doesn’t have to. Use {{ $settings->site_name }} to facilitate learning experiences no matter the context.

@if ($courses) @forelse ($courses as $item)
course image
{{ $item->title }}
{{ count($item->lessons) }} {{ count($item->lessons) > 1 ? 'Lessons' : 'Lesson' }}
{{ count($item->users) }}

{{ !$item->amount ? 'Free' : $settings->currency . number_format(intval($item->amount)) }}

@if (auth()->user()->courses->contains($item)) Watch Lesson @else Get @endif
@empty

No Data Available

@endforelse
{{-- {{ $courses->links() }} --}}
@else

No Data Available

@endif