@extends('layouts.app') @section('title') @php echo $metatags; echo $schema; @endphp {{ app()->getLocale() == 'en' ? $course->name_en : $course->name_ar }} @endsection @section('content')

{{ $course->{'name_' . $lang} }}

{{-- Best Seller Icon --}} {{ __('home.certified_course') }}
{{ __('home.n_students') ." ".$student_num }}
{{ __('home.ratting') . " " . $roundedRate}}
  • {{ __('home.last_updated') . " " . $course->updated_at->format('m/Y') }}
{{--
Best Seller Icon {{__('home.bestseller')}}
{{ $student_num ." ". __('home.students')}}
  • {{ __('home.last_updated')." " . $course->updated_at->format('m/Y') }}
  • {{__('home.certified_course')}}
--}}
Card image

{{ trans('home.subscribe_course') }}

@csrf
@error('full_name') @enderror
@error('email') @enderror
@error('phone') @enderror
@error('qualification') @enderror
@error('job') @enderror
Video Images
@if(!$user)
@if ($course->discount) {{ $course->last_price() . ' ' . __('home.SAR') }} {{ $course->price . ' ' . __('home.SAR') }} @if(isset($course->discount->end_date))
@php $end_date = \Carbon\Carbon::parse($course->discount->end_date); $daysLeft = \Carbon\Carbon::now()->diffInDays($end_date); @endphp {{ $daysLeft }} @lang('home.Day left at this price!')
@endif @else
{{ $course->last_price() . ' ' . __('home.SAR') }}
@endif
@csrf
{{__('home.30-Day Money-Back Guarantee')}}
@endif {{--
--}}
  • {{__('home.hours')}}{{$course->duration}}
  • {{__('home.enrolled')}}{{ $student_num ." ". __('home.students')}}
  • @if($course->level)
  • {{__('home.level')}}{{ $course->level->{'name_'.$lang} }}
  • @endif @if($course->course->chapters)
  • {{__('home.chapters')}} {{ count($course->course->chapters) }}
  • {{ __('home.total_lessons') }} {{ $course->course->chapters->sum(fn($chapter) => $chapter->lessons->count()) }}
  • @endif
  • {{__('home.exams')}} {{ $num_of_exam }}
  • {{__('home.certificate')}} {{__('home.yes')}}
@if(count($related_courses) > 0) @endif

@endsection