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

News and Insight

Health & Wellness

{{-- newsupdate cards --}} @foreach ($news as $new) @include('frontend.components.newsudpate.newscard', [ "title" => $new->title, "image" => $new->image, "date" => $new->created_at->format('M d, Y') // Formatting the date properly ]) @endforeach
{{ $news->links('vendor.pagination.tailwind') }}
@endsection