@extends(getTemplate().'.layouts.app') @push('styles_top') @endpush @section('content')

{{ trans('update.upcoming_courses') }}

{{ $upcomingCoursesCount }} {{ trans('product.courses') }}
@include('web.default.upcoming_courses.includes.top_filters')
@if(empty(request()->get('card')) or request()->get('card') == 'grid')
@foreach($upcomingCourses as $upcomingCourse)
@include('web.default.includes.webinar.upcoming_course_grid_card',['upcomingCourse' => $upcomingCourse])
@endforeach
@elseif(!empty(request()->get('card')) and request()->get('card') == 'list') @foreach($upcomingCourses as $upcomingCourse) @include('web.default.includes.webinar.upcoming_course_list_card',['upcomingCourse' => $upcomingCourse]) @endforeach @endif
@include('web.default.upcoming_courses.includes.right_filters')
{{ $upcomingCourses->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush