@props(['mods', 'versionScope'])
@foreach ($mods as $mod)
@if(empty($mod->thumbnail)) {{ $mod->name }} @else {{ $mod->name }} @endif

{{ $mod->name }}

{{ $mod->{$versionScope}->sptVersion->version }}

{{ $mod->teaser }}

By {{ $mod->user->name }} @if (!is_null($mod->total_downloads)) – {{ Number::format($mod->total_downloads) }} downloads @endif @if(!is_null($mod->updated_at)) – updated {{ $mod->updated_at }} @endif

@endforeach