Courses Details
@if ($purchased)
@endif

{{ $data->course->course_title }}

CREATED BY

{{ $settings->site_name }}

CATEGORY

{{ $data->course->category }}

LAST UPDATED

{{ \Carbon\Carbon::parse($data->course->updated_at)->format('d M, Y') }}

About Course

{{ $data->course->description }}

Course Lessons

@forelse ($data->lessons as $lesson)
{{ $lesson->title }}
{{ $lesson->length }}
@if ($lesson->locked == 'true') Preview @else @endif
@if ($loop->iteration == 5)
{{-- --}}
{{ $loop->remaining }} More Lesson{{ $loop->remaining > 1 ? 's' : '' }}
@endif @break($loop->iteration == 5) {{-- End modal --}} @empty

No Data Available

@endforelse
course image
@if ($purchased) spa_mode) wire:navigate @endif>Watch Lesson @else

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

@endif