@extends('layouts.app') @section('title', $Title) @section('content')
{{ $article->categorydata->name ?? 'Uncategorized' }} @if($article->article_type) {{ $article->article_type }} @endif
  • {{ $article->read_time ?? '—' }} read

{{ $article->title }}

{{ $article->authors ?? 'author' }} {{ $article->authors ?? 'Unknown Author' }}
  • {{ optional(\Carbon\Carbon::parse($article->publication_date ?? $article->created_at))->format('M d, Y') }}

{{-- main article image + content --}}
@if($article->image) {{ $article->title }} @endif
{{-- ABSTRACT --}} @if($article->abstract)

Abstract

{!! nl2br(e($article->abstract)) !!}

@endif {{-- METADATA ROW: Received / Published / DOI / Citation / PDF (icon) --}}
@if($article->received_date)
Received: {{ optional(\Carbon\Carbon::parse($article->received_date))->format('M d, Y') }}
@endif @if($article->publication_date)
Published: {{ optional(\Carbon\Carbon::parse($article->publication_date))->format('M d, Y') }}
@endif @if($article->doi)
DOI: {{ $article->doi }}
@endif {{-- PDF icon / link: opens in new tab --}} @if($article->pdf_path) @endif {{-- Citation: show and copy --}} @if($article->citation)
@endif
{{-- AUTHOR & CONTACT (short) --}}
Author & Contact

Name: {{ $article->authors ?? '-' }}

@if($article->university || $article->department)

Affiliation: {{ trim(($article->department ? $article->department . ', ' : '') . ($article->university ?? '')) }}

@endif @if($article->email)

Email: {{ $article->email }}

@endif @if($article->phone)

Phone: {{ $article->phone }}

@endif
{{-- OTHER METADATA (volume, issue, pages) --}}
    @if($article->journal)
  • Journal: {{ $article->journal }}
  • @endif @if($article->volume || $article->issue)
  • Volume / Issue: {{ $article->volume ?? '-' }}{{ $article->issue ? ' / '.$article->issue : '' }}
  • @endif @if($article->page_no)
  • Pages: {{ $article->page_no }}
  • @endif
@php $full = $article->full_text ?? $article->content ?? $article->body ?? null; @endphp @if($full)

Full Text

@else

Full Text

Full text not available for this article.

@endif @if($article->copyright_text)
Copyright: {{ $article->copyright_text }}
@endif
{{-- Sidebar --}}
Volume And Issues
@foreach($categoryList as $category)
{{ $category->name }}
{{ $category->articles()->count() }} Articles
@endforeach
{{-- Share / contact card --}}
Recommended for You
@if(!empty($relatedArticles) && $relatedArticles->count()) @foreach($relatedArticles as $ra) @endforeach @else

No recommendations available.

@endif
@endsection