@extends('template_front.slider') @section('url'){{url('/')}} @stop @section('title','Weclome Desa Lempang Kabupaten Barru') @section('description','Welcome Desa Lempang Kabupaten Barru') @section('image'){{asset('assets/img/nepo.jpg')}} @stop @section('content_news')

Berita Terbaru

@foreach($berita as $tampil)

{{$tampil->judul_berita}}

  • {{date('d-m-Y',strtotime($tampil->created_at))}}
  • {{$tampil->post_by}}

{{str_limit(strip_tags($tampil->isi_berita),200)}}

Read more
@endforeach

Agenda

@foreach($agenda as $tampil)
{{date('d',strtotime($tampil->tgl_agenda))}}{{date('F',strtotime($tampil->tgl_agenda))}}

{{$tampil->judul_agenda}}

By {{$tampil->post_by}}

{{str_limit(strip_tags($tampil->isi_agenda),100)}}

@endforeach

Pengumuman

@foreach($pengumuman as $tampil)
{{date('d',strtotime($tampil->created_at))}}{{date('F',strtotime($tampil->created_at))}}

{{$tampil->judul_pengumuman}}

By {{$tampil->post_by}}

{{str_limit(strip_tags($tampil->isi_pengumuman),100)}}

@endforeach
@endsection