@extends('layouts.app') @section('title',$Title) @section('content')

{{ $Title }} {{ ($articleList->total() ?? 0) + ($latestArticle ? 1 : 0) }}

@if(isset($activeCategory))

Showing articles in: {{ $activeCategory->name }} (Clear)

@else

Journey across the globe ...

@endif
@if($latestArticle)
{{ $latestArticle->title }}
@endif
Latest

Real-Time Updates That Matter

@foreach($articleList as $article)
{{ $article->title }}
{{ $article->categorydata->name ?? 'General' }}
  • {{ $article->read_time ?? '5 mins' }} read

{{ $article->title }}

{{ Str::limit(strip_tags($article->content), 150) }}

{{ optional(\Carbon\Carbon::parse($article->created_at ?? now()))->format('M d, Y') }}

@endforeach
{{ $articleList->links('pagination::bootstrap-5') }}
Volume And Issue
@foreach($categoryList as $category)
{{ $category->name }}
{{ $category->articles()->count() }} Articles
@endforeach
@endsection