@extends('layouts.app') @section('title', $berita->judul) @section('content')

DETAIL BERITA

@if($berita->gambar) {{ $berita->judul }} @endif
{{ $berita->tanggal->format('d F Y') }}
{{ $berita->created_at->diffForHumans() }}
{{ rand(50, 200) }}x dilihat

{{ $berita->judul }}

{!! nl2br(e($berita->konten)) !!}

Bagikan:
Berita Lainnya
@forelse($beritaLainnya as $item)
@if($item->gambar) {{ $item->judul }} @else
@endif
{{ Str::limit($item->judul, 50) }}
{{ $item->tanggal->format('d M Y') }}
@empty

Tidak ada berita lainnya

@endforelse
Hubungi Kami

{{ $profil->alamat ?? 'Jl. Kesehatan No. 123' }}

{{ $profil->telepon ?? '(0405) 123456' }}

{{ $profil->email ?? 'info@puskesmaskatoi.com' }}


Daftar Pelayanan Online
@endsection @push('styles') @endpush