@extends('frontend.layouts.index') @section('content') {{-- {{ dd($index['subcat']) }} --}}
@include('frontend.includes.slider')
  • logo

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

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

{!! $index['introduction']->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' }}

@if ($index['gallery'] == null) @else {{ 'Not published yet !!!' }} @endif
{{ 'View All' }}
@include('frontend.includes.aside')
@include('frontend.includes.popup') @endsection