{{ __('Mod Details') }}

{{-- Main Mod Details Card --}}
@if (empty($mod->thumbnail)) {{ $mod->name }} @else {{ $mod->name }} @endif

{{ $mod->name }} {{ $latestVersion->version }}

{{ __('Created by') }} @foreach ($mod->users as $user) {{ $user->name }}{{ $loop->last ? '' : ',' }} @endforeach

{{ Number::downloads($mod->total_downloads) }} {{ __('Downloads') }}

{{ $latestVersion->sptVersion->version }} {{ __('Compatible') }}

{{-- Tabs --}}
{{-- Mobile Download Button --}} {{-- Mobile Dropdown --}}
{{-- Desktop Tabs --}}
{{-- Mod Description --}}
{{-- The description below is safe to write directly because it has been run though HTMLPurifier during the import process. --}} {!! Str::markdown($mod->description) !!}
{{-- Mod Versions --}}
@foreach ($mod->versions as $version)
{{ __('Version') }} {{ $version->version }}

{{ Number::downloads($version->downloads) }} {{ __('Downloads') }}

{{ $version->sptVersion->version }} {{__('Virus Total Results')}}
{{ __('Created') }} {{ $version->created_at->format("M d, h:m a") }} {{ __('Updated') }} {{ $version->updated_at->format("M d, h:m a") }}
@if ($version->dependencies->isNotEmpty() && $version->dependencies->contains(fn($dependency) => $dependency->resolvedVersion?->mod))
{{ __('Dependencies:') }} @foreach ($version->dependencies as $dependency) @if ($dependency->resolvedVersion?->mod) {{ $dependency->resolvedVersion->mod->name }} ({{ $dependency->resolvedVersion->version }}) @if (!$loop->last), @endif @endif @endforeach
@endif
{{-- The description below is safe to write directly because it has been run though HTMLPurifier during the import process. --}} {!! Str::markdown($version->description) !!}
@endforeach
{{-- Comments --}}

{{ __('The comments go here.') }}

{{-- Right Column --}}
{{-- Desktop Download Button --}} {{-- Additional Mod Details --}}

{{ __('Details') }}