@extends('layouts.front') @section('title', getSiteName() . ' — Learn from the best, at your pace') @section('content')
@foreach (range(1, 8) as $i)
@if ($url = $content->getHeroIconImageUrl($i)) @else {{ $content->{"hero_icon_{$i}"} }} @endif
@endforeach {!! $content->hero_eyebrow ?: __('front.home.hero_eyebrow') !!}

{{ $content->hero_title ?: __('front.home.hero_title') }}

+
{{ number_format($stats['learners']) }}+{{ __('front.home.learners_label') }}
{{ __('front.home.explore_courses') }} →
scroll
@for($i = 0; $i < 8; $i++) {{ __('front.home.marquee_pace') }} @endfor
@php $introText = str_replace([':count', ':site'], [$stats['courses'], getSiteName()], $content->intro_text ?: __('front.home.intro_text')); @endphp

{{ $introText }}

{{ __('front.home.more_about', ['site' => getSiteName()]) }}
@if($featuredCourses->isNotEmpty())
{{ $content->featured_eyebrow ?: __('front.home.featured_eyebrow') }}

{{ $content->featured_title ?: __('front.home.featured_title') }}

@foreach($featuredCourses as $course)
getImage()) style="background-image:url('{{ $course->getImage() }}')" @endif>
{{ $course->category->name ?? __('front.courses.general') }}{{ __('front.courses.' . $course->level) }}
{{ $course->lessons_count }} {{ __('front.home.lessons_suffix') }}

{{ $course->title }}

{{ __('front.courses.by_instructor', ['name' => optional($course->instructor->user)->name ?? __('front.courses.unknown_instructor')]) }} · EGP {{ number_format($course->price, 0) }}
@endforeach
{{ __('front.home.browse_all') }}
@endif @if($categories->isNotEmpty())
{{ $content->categories_eyebrow ?: __('front.home.categories_eyebrow') }}

{{ $content->categories_title ?: __('front.home.categories_title') }}

@foreach($categories as $category) {{ $category->name }} @endforeach @foreach($categories as $category) {{ $category->name }} @endforeach

{!! __('front.home.categories_hint', ['link' => '' . __('front.home.categories_hint_link') . '']) !!}

@endif
{{ $content->facts_eyebrow ?: __('front.home.facts_eyebrow') }}

{{ $content->facts_title ?: __('front.home.facts_title') }}

{{ $content->facts_desc ?: __('front.home.facts_desc') }}

0+
[ Nice! ]

{{ __('front.home.fact_courses') }}

0
[ Holy moly! ]

{{ __('front.home.fact_instructors') }}

0
[ Whoa! ]

{{ __('front.home.fact_learners') }}

0.0
[ Love it! ]

{{ __('front.home.fact_rating') }}

{{ $content->master_eyebrow ?: __('front.home.master_eyebrow') }}

{{ $content->master_title ?: __('front.home.master_title') }} {{ $content->master_title_hl ?: __('front.home.master_title_hl') }}

{{ $content->master_desc ?: __('front.home.master_desc') }}

{{ __('front.home.mh_stat_courses') }}
{{ __('front.home.mh_stat_instructors') }}
{{ __('front.home.mh_stat_learners') }}
{{ __('front.home.mh_stat_rating') }}
{{ __('front.home.pricing_eyebrow') }}

{{ __('front.home.pricing_title') }}

{{ __('front.home.pricing_subtitle') }}

@php $homePlans = [ 'monthly' => ['price' => $monthlyPrice, 'label' => __('front.subscriptions.monthly'), 'per' => __('front.subscriptions.per_month')], 'quarterly' => ['price' => $quarterlyPrice, 'label' => __('front.subscriptions.quarterly'), 'per' => __('front.subscriptions.per_quarter')], 'half_yearly' => ['price' => $halfYearlyPrice, 'label' => __('front.subscriptions.half_yearly'), 'per' => __('front.subscriptions.per_half_year')], 'yearly' => ['price' => $yearlyPrice, 'label' => __('front.subscriptions.yearly'), 'per' => __('front.subscriptions.per_year')], ]; @endphp @foreach ($homePlans as $planKey => $plan)
@if ($planKey === 'monthly') {{ __('front.home.most_popular') }} @endif

{{ $plan['label'] }}

EGP {{ number_format($plan['price'], 0) }}{{ $plan['per'] }}
  • ✓{{ __('front.home.monthly_li1') }}
  • ✓{{ __('front.home.monthly_li2') }}
  • ✓{{ __('front.home.monthly_li3') }}
{{ __('front.subscriptions.subscribe') }}
@endforeach
{{ getSiteName() }} {{ $content->final_tagline ?: __('front.home.final_tagline') }}
{{ $content->final_eyebrow ?: __('front.home.final_eyebrow') }}

{{ $content->final_title ?: __('front.home.final_title') }}

@endsection