{{--
{{ __('t.dash') }} {{ __('t.courses') }}
--}} {{-- Courses Grid --}}
@forelse ($courses as $course)
spa_mode) wire:navigate @endif>
{{ $course->title }}
{{ $course->title }}
{{ !$course->price ? __('t.free') : $settings->currency . number_format(intval($course->price)) }}
{{ $course->lessons_count }} {{ __('t.lessons') }}
{{ $course->users_count }} {{ __('t.students') }}
spa_mode) wire:navigate @endif class="flex items-center justify-between bg-theme-tertiary text-theme-primary p-4 rounded-xl group-hover:bg-theme-quaternary transition-colors"> {{ __('t.view_details') }}
@empty

{{ __('t.no_courses') }}

{{ __('t.check_later') }}

@endforelse
@include('components.pagination', ['route' => 'user.membership.courses']) {{-- Free Lessons Section --}}

{{ __('t.free_lessons') }}

@isset($lessons) @forelse ($lessons as $lesson) spa_mode) wire:navigate @endif class="bg-theme-secondary rounded-xl overflow-hidden hover:bg-theme-tertiary transition-colors group">
{{ $lesson->title }}
{{ $lesson->title }}
{{ $lesson->category }}
@empty

{{ __('t.no_free_lessons') }}

{{ __('t.free_coming_soon') }}

@endforelse @endisset