@extends('layouts.main-app') @section('title', 'Homepage') @section('content') @include('layouts.navbar', [ 'headerTitle' => 'News and Insight', 'headerDescription' => '', ])
{{ $news->title }}

Admin

{{ \Carbon\Carbon::parse($news->date)->format('M d, Y') }}

{{ $news->title }}

{!! $news->description !!}

Recent Posts

    @foreach ($allnews as $new)
  • {{ $new->title }} {{ $news->created_at->format('F d, Y') }}
  • @endforeach
@endsection