mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
This update gives mod versions a supported SPT version field that accepts a semantic version. The latest supported SPT version will be automatically resolved based on the semvar. Next up: I need to update the ModVersion to SptVersion relationship to be a many-to-many and expand the resolution to resolve multiple versions.
11 lines
477 B
PHP
11 lines
477 B
PHP
@props(['mods', 'versionScope', 'title'])
|
|
|
|
<div class="mx-auto max-w-7xl px-4 pt-16 sm:px-6 lg:px-8">
|
|
{{--
|
|
TODO: The button-link should be dynamic based on the versionScope. Eg. Featured `View All` button should take
|
|
the user to the mods page with the `featured` query parameter set.
|
|
--}}
|
|
<x-page-content-title :title="$title" button-text="View All" button-link="/mods" />
|
|
<x-mod-list :mods="$mods" :versionScope="$versionScope" />
|
|
</div>
|