You've already forked AstralRinth
forked from didirus/AstralRinth
Remove CurseForge integration - some more minor fixes
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
color: var(--color-grey-2);
|
color: var(--color-divider);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -189,16 +189,6 @@ body {
|
|||||||
--font-weight-text: var(--font-weight-medium);
|
--font-weight-text: var(--font-weight-medium);
|
||||||
--font-weight-heading: var(--font-weight-extrabold);
|
--font-weight-heading: var(--font-weight-extrabold);
|
||||||
--font-weight-title: var(--font-weight-extrabold);
|
--font-weight-title: var(--font-weight-extrabold);
|
||||||
|
|
||||||
// Temporary
|
|
||||||
--color-grey-7: #ff0000;
|
|
||||||
--color-grey-6: #ff0000;
|
|
||||||
--color-grey-5: #ff0000;
|
|
||||||
--color-grey-4: #ff0000;
|
|
||||||
--color-grey-3: #ff0000;
|
|
||||||
--color-grey-2: #ff0000;
|
|
||||||
--color-grey-1: #ff0000;
|
|
||||||
--color-grey-0: #ff0000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
.alt {
|
.alt {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
border-radius: var(--size-rounded-sm);
|
border-radius: var(--size-rounded-sm);
|
||||||
background-color: var(--color-grey-1);
|
background-color: var(--color-raised-bg);
|
||||||
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
|
||||||
padding: 0.7em 1em;
|
padding: 0.7em 1em;
|
||||||
margin: 1em 1em 2em 1em;
|
margin: 1em 1em 2em 1em;
|
||||||
|
|||||||
@@ -147,20 +147,12 @@
|
|||||||
</aside>
|
</aside>
|
||||||
<main>
|
<main>
|
||||||
<notifications group="main" position="bottom right" />
|
<notifications group="main" position="bottom right" />
|
||||||
<notifications
|
<!--<notifications
|
||||||
group="ads"
|
group="ads"
|
||||||
position="bottom right"
|
position="bottom right"
|
||||||
:duration="-1"
|
:duration="-1"
|
||||||
:ignore-duplicates="true"
|
:ignore-duplicates="true"
|
||||||
/>
|
/>-->
|
||||||
<div class="alpha-alert hidden">
|
|
||||||
<div class="wrapper">
|
|
||||||
Modrinth is in early alpha. Beware of many bugs and broken and
|
|
||||||
unimplemented features. Join our
|
|
||||||
<a class="text-link" href="https://discord.gg/gFRbNQ2">Discord</a>
|
|
||||||
for updates!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<Nuxt />
|
<Nuxt />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
@@ -466,19 +458,6 @@ export default {
|
|||||||
|
|
||||||
main {
|
main {
|
||||||
grid-area: 'main';
|
grid-area: 'main';
|
||||||
|
|
||||||
.alpha-alert {
|
|
||||||
background-color: var(--color-bg);
|
|
||||||
border-radius: var(--size-rounded-md);
|
|
||||||
margin: 0.5rem;
|
|
||||||
overflow: hidden;
|
|
||||||
width: fit-content;
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
border-left: 0.5rem solid var(--color-brand);
|
|
||||||
padding: 0.75rem 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -232,23 +232,6 @@
|
|||||||
>
|
>
|
||||||
<ForgeLoader />
|
<ForgeLoader />
|
||||||
</SearchFilter>
|
</SearchFilter>
|
||||||
<h3>Host</h3>
|
|
||||||
<SearchFilter
|
|
||||||
:active-filters="facets"
|
|
||||||
display-name="Modrinth"
|
|
||||||
facet-name="host:modrinth"
|
|
||||||
@toggle="toggleFacet"
|
|
||||||
>
|
|
||||||
<Modrinth />
|
|
||||||
</SearchFilter>
|
|
||||||
<SearchFilter
|
|
||||||
:active-filters="facets"
|
|
||||||
display-name="CurseForge"
|
|
||||||
facet-name="host:curseforge"
|
|
||||||
@toggle="toggleFacet"
|
|
||||||
>
|
|
||||||
<FlameAnvil />
|
|
||||||
</SearchFilter>
|
|
||||||
<h3>Versions</h3>
|
<h3>Versions</h3>
|
||||||
<SearchFilter
|
<SearchFilter
|
||||||
:active-filters="showVersions"
|
:active-filters="showVersions"
|
||||||
@@ -305,9 +288,6 @@ import WorldGenCategory from '~/assets/images/categories/worldgen.svg?inline'
|
|||||||
import ForgeLoader from '~/assets/images/categories/forge.svg?inline'
|
import ForgeLoader from '~/assets/images/categories/forge.svg?inline'
|
||||||
import FabricLoader from '~/assets/images/categories/fabric.svg?inline'
|
import FabricLoader from '~/assets/images/categories/fabric.svg?inline'
|
||||||
|
|
||||||
import Modrinth from '~/assets/images/categories/modrinth.svg?inline'
|
|
||||||
import FlameAnvil from '~/assets/images/categories/flameanvil.svg?inline'
|
|
||||||
|
|
||||||
import SearchIcon from '~/assets/images/utils/search.svg?inline'
|
import SearchIcon from '~/assets/images/utils/search.svg?inline'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -333,8 +313,6 @@ export default {
|
|||||||
WorldGenCategory,
|
WorldGenCategory,
|
||||||
ForgeLoader,
|
ForgeLoader,
|
||||||
FabricLoader,
|
FabricLoader,
|
||||||
Modrinth,
|
|
||||||
FlameAnvil,
|
|
||||||
SearchIcon,
|
SearchIcon,
|
||||||
},
|
},
|
||||||
async fetch() {
|
async fetch() {
|
||||||
@@ -357,6 +335,7 @@ export default {
|
|||||||
if (this.$route.query.o)
|
if (this.$route.query.o)
|
||||||
this.currentPage = Math.ceil(this.$route.query.o / this.maxResults) + 1
|
this.currentPage = Math.ceil(this.$route.query.o / this.maxResults) + 1
|
||||||
|
|
||||||
|
this.facets.push('host:modrinth')
|
||||||
await this.fillInitialVersions()
|
await this.fillInitialVersions()
|
||||||
await this.onSearchChange(this.currentPage)
|
await this.onSearchChange(this.currentPage)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user