@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')