@php $heroTitle = $title ?? 'Afghan Online Education'; $heroSubtitle = $subtitle ?? null; $heroKicker = $kicker ?? 'Afghan Online Education'; $heroImage = $image ?? asset('images/afghan-online-education/logo.png'); $heroCrumbs = $breadcrumbs ?? []; $heroMeta = $meta ?? []; \App\Models\Finance\ModuleSetting::ensureDefaults(); $applyVisible = \App\Models\Finance\ModuleSetting::allows('online_forms') && \App\Models\Finance\ModuleSetting::allows('public_form_online_apply'); $contactVisible = \App\Models\Finance\ModuleSetting::allows('online_forms') && \App\Models\Finance\ModuleSetting::allows('public_form_contact'); $applyUrl = $applyUrl ?? route('front.apply.create'); $showApply = ($showApply ?? true) && ($applyVisible || $contactVisible); @endphp
{{ $heroKicker }}

{{ $heroTitle }}

@if($heroSubtitle)

{{ $heroSubtitle }}

@endif @if(count($heroMeta))
@foreach($heroMeta as $item) {!! $item !!} @endforeach
@endif
@if($showApply)
@if($applyVisible) Apply Now @endif @if($contactVisible) Ask a Question @endif
@endif