@extends('layouts.app') @section('content')
@if ($post_type == 'areas_of_experties')

Our Areas of Experties

@csrf


@foreach ($postexp as $item) @if ($item->category == 'areas_of_experties')
image

{{ $item->title }} {{-- --}}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif

@endif @endforeach
@elseif ($post_type == 'our_activities')

Our Work


Our Activities


@foreach ($posts as $item) @if ($item->category == 'our_activities')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@elseif ($post_type == 'success_story')

Our Work


Success Stories


@foreach ($posts as $item) @if ($item->category == 'success_story')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@elseif ($post_type == 'skill_develpment')

Our Impact


Skill Development

@csrf

@foreach ($posts as $item) @if ($item->category == 'skill_develpment')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@elseif ($post_type == 'infrastructure_develpment')

Our Impact


Infrastructure Development


@foreach ($posts as $item) @if ($item->category == 'infrastructure_develpment')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@elseif ($post_type == 'asset_creation')

Our Impact


Asset Creation


@foreach ($posts as $item) @if ($item->category == 'asset_creation')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@elseif ($post_type == 'livelihood_generation')

Our Impact


Livelihood Generation


@foreach ($posts as $item) @if ($item->category == 'livelihood_generation')
image

{{ $item->title }}


Date: {{ $item->date }}
Location: {{ $item->location }}
{!! $item->truncated_description !!} @if (strlen(strip_tags($item->description)) > strlen($item->truncated_description)) See More... @endif
@endif @endforeach
@else

Nothing to show

@endif
@endsection