@push('metadata') @php $page_id = 13; $mTitle = @$seoData['seo_title']; $mDescr = @$seoData['meta_description']; $breadcrum = @$seoData['breadcrumb']; $faqs = $seoData['faq'] ?? '[]'; $mKWords = $seoData['meta_keywords']; $mUrl = url()->current(); $baseUrl = url('/crypto-author/'); $mImage = config('constants.author'); @endphp {{ @$mTitle }} @endpush @push('head_scripts') {!! SchemaHelper::collectionPageSchema($breadcrum, $mTitle, $mDescr) !!} {!! SchemaHelper::itemListSchema($mTitle ?? null, $mUrl ?? null, $baseUrl ?? null, $unfeaturedIcos ?? [],1,'') !!} {!! SchemaHelper::webpageSchema($mTitle ?? null, $mDescr ?? null) !!} {!! SchemaHelper::getBreadcrumbSchema([ ['name' => 'Home', 'url' => url('/')], ['name' =>$seoData['breadcrumb'], 'url' => URL::to('crypto-author')], ]) !!} {!! SchemaHelper::getImageObjectSchema(CommonHelper::s3ImageOrDefault($mImage), $mTitle, 1200, 630) !!} @if(!empty($seoData['faq'])) {!! SchemaHelper::getFaqSchema($seoData['faq']) !!} @endif @endpush @push('pageId') @endpush @push('styles') @endpush
{!! $seoData['top_page_content'] !!}
@foreach ($dataList as $author)
{{ $author['display_name'] ?? 'Author' }}
{{ $author['dispaly_name'] }} {{ $author['personal_profile'] }}
@if (!empty($author['user']['twitter_url'])) @endif @if (!empty($author['user']['linkedin_url'])) @endif
{{ $author['total_news'] }}+ 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
@endforeach
{!! $seoData['description'] ?? '' !!}