@push('metadata') @php $pageId = 36; $mTitle = @$author->seo_title; $mDescr = @$author->meta_description; $faqs = $author->faqs ?? '[]'; $mKWords = $author->meta_keywords; $mUrl = url()->current(); $mImage = $author->image ?? '' ; @endphp @push('pageId') @endpush {{ @$mTitle }} {{----}} @endpush
@push('styles') @endpush
{{ $author->display_name ?? $author->dispaly_name }}

{{ $author->display_name ?? $author->dispaly_name }}

@if (!empty($author['user']['twitter_url'])) @endif @if (!empty($author['user']['linkedin_url'])) @endif
{{ $author->specialization }}
{!! $author->about_us !!}
@php $totalAll = $totalNews + $totalPR; @endphp
{{ $totalAll }} articles
@php $createdAt = \Carbon\Carbon::parse($author->created_at); $months = floor($createdAt->floatDiffInMonths(now())); $years = floor($months / 12); $experience = $years > 0 ? $years : $months; $experienceLabel = $years > 0 ? ($years > 1 ? 'Years' : 'Year') : ($months > 1 ? 'Months' : 'Month'); @endphp
{{ $experience }} {{ $experienceLabel }} experience
{{ $createdAt->format('Y') }} active since
English languages

All Articles by {{ $author->dispaly_name ?? 'Author' }}

{{-- News Tab --}}
@forelse($news as $newsItem)
{{ $newsItem->title }}
{{ $author->dispaly_name ?? 'Unknown' }} {{ $newsItem->created_at->format('d-m-Y') }}
@if(session()->has('success_' . $newsItem->id)) @endif
@empty

No news articles found for this author.

@endforelse {{-- @if($totalNews > count($news))
@endif --}} @if($news->hasPages())
{{ $news->onEachSide(1)->links('vendor.pagination.bootstrap-5') }}
@endif
{{-- Press Release Tab --}}
@forelse($pressReleases as $prItem)
{{ $prItem->title }}
{{ $author->dispaly_name ?? 'Unknown' }} {{ $prItem->created_at->format('d-m-Y') }}
@if(session()->has('success_' . $prItem->id)) @endif
@empty

No press releases found for this author.

@endforelse {{-- @if($totalPR > count($pressReleases))
@endif --}} @if($pressReleases->hasPages())
{{ $pressReleases->onEachSide(1)->links() }}
@endif
{{-- Other Authors Sidebar --}}
{{-- Page Content Section --}} @if($author->page_content)
{!! $author->page_content !!}
@endif @include('livewire.common.share-modal') {{-- Share Modal --}}