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

News and Insight

Health & Wellness

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