@extends('layouts.front') @section('title', $course->title . ' Details') @section('content')
{{ $course->title }}
{{ $course->title }}

{{ $course->description }}

{{ number_format($course->price, 0, '.', ',') }} {{ $course->currency }}
Duration: {{ $course->duration_days }} days
Time for activation: {{ $course->activation_period }} months
Difficulty: @php $difficultyValue = $course->difficulty_level == 'Beginner' ? 1 : ($course->difficulty_level == 'Intermediate' ? 2 : 3); @endphp @for ($i = 1; $i <= 3; $i++) @endfor
Inventory: {{ $course->inventory_type }}
The course is aimed at:
{!! $course->aim !!}
@if($course->video_url) @endif
Content of the course:
{!! $course->content !!}
@endsection