mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
18 lines
394 B
PHP
18 lines
394 B
PHP
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use App\Models\Mod;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\View\Component;
|
|
|
|
class LatestModListing extends Component
|
|
{
|
|
public function render(): View
|
|
{
|
|
return view('components.latest-mod-listing', [
|
|
'latestMods' => Mod::with('versionWithHighestSptVersion.sptVersion')->latest()->take(6)->get(),
|
|
]);
|
|
}
|
|
}
|