@if ($section == 'dialogue')

{{ ucfirst($section) }}

@foreach ($items as $item)
{{ $item->name }}
{{ Str::limit($item->name, 65) }}

{!! Str::limit($item->description, 110) !!}

{{ $item->date ? \Carbon\Carbon::parse($item->date)->format('Y-m-d') : \Carbon\Carbon::parse($item->created_at)->format('Y-m-d') }}

Read More
@endforeach
@endif @if ($section == 'policies')

Policies

@foreach ($items as $policy) @endforeach
@endif @if ($section == 'research')

Research

@foreach ($items as $policy)
{{ $policy->name }}
Download PDF
@endforeach
@endif @if ($section == 'evaluation')

Evaluation

@foreach ($items as $policy)
{{ $policy->name }}
Download PDF
@endforeach
@endif @if ($section == 'articles')

Articles

@foreach ($items as $article)
{{Str::limit($article->name,60) }}

{{ $article->date ? \Carbon\Carbon::parse($article->date)->format('Y-m-d') : \Carbon\Carbon::parse($article->created_at)->format('Y-m-d') }}

@endforeach
@endif @if ($section == 'data') @endif @if ($section == 'acts')

Acts

@foreach ($items as $policy) @endforeach
@endif @if ($section == 'gallery') @endif @if ($section == 'publications')

Publications

@foreach ($items as $publication)
publication-{{ $publication->id }}

{{ $publication->date ? \Carbon\Carbon::parse($publication->date)->format('d') : \Carbon\Carbon::parse($publication->created_at)->format('d') }}

{{ $publication->date ? \Carbon\Carbon::parse($publication->date)->format('M') : \Carbon\Carbon::parse($publication->created_at)->format('M') }}

{{ $publication->name }}
  • {{ \Carbon\Carbon::parse($publication->created_at)->format('g:i A') }}
  • By Admin

{!! Str::limit($publication->description, 115) !!}

@endforeach
@endif @if ($section == 'reports')

Reports

@foreach ($items as $policy) @endforeach
@endif @if ($section == 'news')

News

@foreach ($items as $news)
{{ $news->name }}

{!! Str::limit($news->description, 115) !!}

@endforeach
@endif