@foreach($allArticles as $key=>$articles)
@if(isset($articles['imgPaths']['data']['urls']['uploaded']['original'])) {{ $articles['title'] }} @elseif(isset($articles['imgPaths']['data']['urls']['uploaded']['thumbnail'])) {{ $articles['title'] }} @elseif(isset($articles['imgPaths']['data']['urls']['16x9']['770_433'])) {{ $articles['title'] }} @else {{ $articles['title'] }} @endif
@include('layouts.logos.icons.share-icon', ['width' => '20px', 'height' => '15px', 'fill' => 'black'])

{{ $articles['title'] }}

{{ $articles['fromDate'] }}
@include('layouts.logos.icons.views-icon', ['width' => '20px', 'height' => '15px', 'fill' => '#808080bf'])
{{ $articles['viewed'] }}
@if(isset($articles['related']))
    @foreach($articles['related'] as $related) @if($related['type'] == 'article')
  • {{ mb_substr($related['data']['published_at'],11,5) }}
    {{ $related['data']['title'] }}
  • @endif @endforeach
@endif @if($key % 3 == 0 && $key > 0) @include('layouts.side-bar-components._vertical-banner', ['bannerURL'=>'../resources/image/temp/banner-728-'.rand(2,4).'.jpg']) @endif @if(isset($tournaments)) @if($key % 5 == 0 && $key >0) @php $id = array_rand($tournaments,1); $pickATournament = $tournaments[$id]; unset($tournaments[$id]); @endphp @include('mobile.layouts.custom-widget-matches',['tournament' => $pickATournament]) @endif @endif @endforeach @if(gettype($allArticlesByDate->links()) != 'undefined') {{ $allArticlesByDate->links() }} @endif