forge/resources/views/components/mod-list-stats.blade.php
Refringe 4cb739f50c
More Updates
- Updates dependancies
- Added time to mod component
- Implement naturalSort function into homepage queries

Short todo:
- Migrate top navigation from old-build
- Mod detail page
2024-05-28 17:19:36 -04:00

14 lines
531 B
PHP

<p {{ $attributes->class(['text-slate-700 dark:text-gray-300 text-sm']) }}>
<span>{{ Number::format($mod->total_downloads) }} downloads</span>
@if(!is_null($mod->created_at))
<span>
&mdash; Created
<time datetime="{{ $mod->created_at->format('c') }}">
{{ $mod->created_at->diffForHumans() }}
</time>
</span>
@elseif(!is_null($modVersion->updated_at))
<span>&mdash; Updated {{ $modVersion->updated_at->diffForHumans() }}</span>
@endif
</p>