@extends('public.layout.app') @section('title', $page->seo_title ?: $page->title) @section('body') @php \App\Models\Finance\ModuleSetting::ensureDefaults(); $publicFormVisible = fn ($key) => \App\Models\Finance\ModuleSetting::allows('online_forms') && \App\Models\Finance\ModuleSetting::allows($key); @endphp @include('public.partials.page-hero', [ 'title' => $page->title, 'subtitle' => $page->excerpt ?: \Illuminate\Support\Str::limit(strip_tags($page->body ?? ''), 180), 'kicker' => $page->parent?->title ?? 'Information', 'image' => $page->cover_image ? asset('storage/' . $page->cover_image) : asset('images/afghan-online-education/logo.png'), 'breadcrumbs' => [$page->title => null], 'showApply' => true, ])
{{ $page->parent?->title ?? 'Page Content' }}

Overview

{!! $page->body ?: '

' . e(__('front.no_content_yet')) . '

' !!}
@include('public.partials.important-notes', ['notes' => $page->important_notes]) @if($page->allow_comments ?? true) @include('public.partials.comment-section', ['type' => 'page', 'id' => $page->id, 'comments' => $comments ?? collect()]) @endif @if($page->allow_feedback ?? true) @include('public.partials.feedback-form', ['type' => 'page', 'id' => $page->id]) @endif @include('public.partials.apply-cta')
@endsection