You've already forked AstralRinth
Add craftmine support
This commit is contained in:
@@ -268,7 +268,26 @@
|
|||||||
</ButtonStyled>
|
</ButtonStyled>
|
||||||
<ButtonStyled type="transparent" :highlighted="route.name === 'app'">
|
<ButtonStyled type="transparent" :highlighted="route.name === 'app'">
|
||||||
<nuxt-link to="/pizza">
|
<nuxt-link to="/pizza">
|
||||||
<ArrowBigUpDashIcon aria-hidden="true" />
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
stroke-width="2"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
class="lucide lucide-pizza-icon lucide-pizza"
|
||||||
|
>
|
||||||
|
<path d="m12 14-1 1" />
|
||||||
|
<path d="m13.75 18.25-1.25 1.42" />
|
||||||
|
<path d="M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12" />
|
||||||
|
<path d="M18.8 9.3a1 1 0 0 0 2.1 7.7" />
|
||||||
|
<path
|
||||||
|
d="M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
<span class="hidden md:contents">Modrinth Pizza</span>
|
<span class="hidden md:contents">Modrinth Pizza</span>
|
||||||
<span class="contents md:hidden">Modrinth Pizza</span>
|
<span class="contents md:hidden">Modrinth Pizza</span>
|
||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
@@ -834,7 +853,7 @@ useSeoMeta({
|
|||||||
"Discover and publish projects on Modrinth with a modern, easy to use interface and API.",
|
"Discover and publish projects on Modrinth with a modern, easy to use interface and API.",
|
||||||
}),
|
}),
|
||||||
publisher: "Modrinth",
|
publisher: "Modrinth",
|
||||||
themeColor: "#1bd96a",
|
themeColor: "#F16436",
|
||||||
colorScheme: "dark light",
|
colorScheme: "dark light",
|
||||||
|
|
||||||
// OpenGraph
|
// OpenGraph
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ const modrinthTeamMembers = [
|
|||||||
"Jade",
|
"Jade",
|
||||||
"Jasmine",
|
"Jasmine",
|
||||||
"Michael",
|
"Michael",
|
||||||
|
"Frobert",
|
||||||
];
|
];
|
||||||
|
|
||||||
const isPreapring = ref(false);
|
const isPreapring = ref(false);
|
||||||
|
|||||||
@@ -211,7 +211,10 @@ export function useSearch(
|
|||||||
searchable: true,
|
searchable: true,
|
||||||
options: tags.value.gameVersions.map((gameVersion) => ({
|
options: tags.value.gameVersions.map((gameVersion) => ({
|
||||||
id: gameVersion.version,
|
id: gameVersion.version,
|
||||||
toggle_group: gameVersion.version_type !== 'release' ? 'all_versions' : undefined,
|
toggle_group:
|
||||||
|
(gameVersion.version_type !== 'release' && !gameVersion.version.includes('craftmine'))
|
||||||
|
? 'all_versions'
|
||||||
|
: undefined,
|
||||||
value: `versions:${gameVersion.version}`,
|
value: `versions:${gameVersion.version}`,
|
||||||
query_value: gameVersion.version,
|
query_value: gameVersion.version,
|
||||||
method: 'or',
|
method: 'or',
|
||||||
|
|||||||
Reference in New Issue
Block a user