@extends('frontend.layouts.index') @section('content')
@include('frontend.includes.popup') @include('frontend.includes.slider')
  • {{ ucfirst($index['introduction']->title) }}
  • {{ ucfirst($index['mission']->title) }}
  • {{ ucfirst($index['vision']->title) }}
  • {{ ucfirst($index['goal']->title) }}

{{ ucfirst($index['introduction']->title) }}

{{ ucfirst($index['introduction']->title) }}

{!! $index['introduction']->description !!}

{{ ucfirst($index['mission']->title) }}

{{ ucfirst($index['mission']->title) }}

{!! $index['mission']->description !!}

{{ ucfirst($index['vision']->title) }}

{{ ucfirst($index['vision']->title) }}

{!! $index['vision']->description !!}

{{ ucfirst($index['goal']->title) }}

{{ ucfirst($index['goal']->title) }}

{!! $index['goal']->description !!}
{{-- {{ dump($index['subcat']) }} {{ die() }} --}}
    @foreach ($index['subcat'] as $key => $sc)
  • {{ $sc->name }}
  • @endforeach
@foreach ($index['subcat'] as $key => $sc)

{{ $sc->name }}

    @if ($sc->posts->isEmpty())
  • {{ 'NO POST' }}
  • @else @foreach ($sc->posts as $al)
  • {{ $al->title }} @if (date('Y-m-d') <= $al->check_date) New @endif
      {{ date('M d, Y', strtotime($al->created_at)) }}
  • @endforeach @endif
{{ 'View All' }}
@endforeach
  • {{ 'Photo Gallery' }}
  • {{ 'Video Gallery' }}

{{ 'Photo Gallery' }}

{{ 'View All' }}

{{ 'Video Gallery' }}

    @forelse($index['video'] as $video)
  • {!!$video->description!!}
    {{$video->title}}
  • @empty {{ 'Not published yet !!!' }} @endforelse
{{ 'View All' }}
@include('frontend.includes.aside')
@endsection