@extends('layouts.site') @section('title', is_ne() ? 'संस्था' : 'Organisation') @section('content') @include('partials.page-hero', ['title' => is_ne() ? 'हाम्रो संस्था' : 'Our Organisation']) @php $order = ['about', 'vision-mission', 'inspiration', 'structure', 'legal']; @endphp
@foreach($order as $slug) @continue(!isset($blocks[$slug])) @php $b = $blocks[$slug]; @endphp

{{ tr($b, 'title') }}

@if($b->image){{ tr($b, 'title') }}@endif @if(in_array($slug, ['structure', 'legal']))
    @foreach(lines(tr($b, 'body')) as $line)
  • {{ $line }}
  • @endforeach
@else
@foreach(preg_split('/(?:\r?\n){2,}/', (string) tr($b, 'body')) as $para)

{{ $para }}

@endforeach
@endif
@endforeach

{{ is_ne() ? 'नेतृत्व' : 'Leadership' }}

@foreach($leaders as $l)
@if($l->photo){{ $l->name }}@else
{{ initials($l->name) }}
@endif

{{ tr($l, 'name') }}

{{ tr($l, 'position') }}

{{ $l->bio }}

@endforeach

{{ is_ne() ? 'वार्षिक प्रतिवेदन' : 'Annual Reports' }}

@endsection