@php // Principal display data. A school's own principal record // (uploaded photo + name/title) overrides the Kenso defaults, // otherwise the Kenso default principal asset/content is used. $principalImg = $principal?->photo ? asset('storage/' . $principal->photo) : $ws->defaultAsset('principal_image'); $principalImg = $principalImg ?: $ws->defaultAsset('principal_image'); $principalName = $principal?->full_name ?: $ws->content('principal_name'); $principalTitle = $principal?->designation ?: $ws->content('principal_title'); @endphp {{-- Principal image + identification --}}
@if ($principalImg) {{ $principalName }} @else
{{ $websiteSchool->initials ?? substr($websiteSchool->name, 0, 2) }}
@endif

{{ $principalName }}

{{ $principalTitle }}

{{-- Copy --}}

Welcome to {{ $websiteSchool->name }}

{{ $ws->content('welcome_title') }}

{{ $ws->content('welcome_text') }}

Our Vision

{{ $ws->content('vision') }}

Our Mission

{{ $ws->content('mission') }}

Learn more about us @if ($ws->contact()['map_url']) Find us on the map @endif