You've already forked AstralRinth
forked from didirus/AstralRinth
Datapack support (#815)
* Shader support PR * Make search page work * Fix env showing * Make moderation look reasonable * Fix search for shaders * Datapack support * Make file types work + datapack inferring * Add editing to file types * Finish datapack file generation * Fix bugs, make forge support work * Fix inconsistent data pack label * Final fixes
This commit is contained in:
@@ -32,12 +32,16 @@
|
||||
label: 'Plugins',
|
||||
href: '/plugins',
|
||||
},
|
||||
{
|
||||
label: 'Data Packs',
|
||||
href: '/datapacks',
|
||||
},
|
||||
{
|
||||
label: 'Shaders',
|
||||
href: '/shaders',
|
||||
},
|
||||
{
|
||||
label: 'Resourcepacks',
|
||||
label: 'Resource Packs',
|
||||
href: '/resourcepacks',
|
||||
},
|
||||
{
|
||||
@@ -201,6 +205,14 @@
|
||||
>
|
||||
<span>Plugins</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink
|
||||
:tabindex="isBrowseMenuOpen ? 0 : -1"
|
||||
to="/datapacks"
|
||||
class="tab iconified-button"
|
||||
@click.native="isBrowseMenuOpen = false"
|
||||
>
|
||||
<span>Data packs</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink
|
||||
:tabindex="isBrowseMenuOpen ? 0 : -1"
|
||||
to="/shaders"
|
||||
@@ -215,7 +227,7 @@
|
||||
class="tab iconified-button"
|
||||
@click.native="isBrowseMenuOpen = false"
|
||||
>
|
||||
<span>Resourcepacks</span>
|
||||
<span>Resource packs</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink
|
||||
:tabindex="isBrowseMenuOpen ? 0 : -1"
|
||||
@@ -487,12 +499,13 @@ export default {
|
||||
watch: {
|
||||
$route() {
|
||||
this.isMobileMenuOpen = false
|
||||
document.body.style.overflowY = 'scroll'
|
||||
|
||||
this.$store.dispatch('user/fetchAll')
|
||||
|
||||
document.body.setAttribute('tabindex', '-1')
|
||||
document.body.removeAttribute('tabindex')
|
||||
if (process.client) {
|
||||
document.body.style.overflowY = 'scroll'
|
||||
document.body.setAttribute('tabindex', '-1')
|
||||
document.body.removeAttribute('tabindex')
|
||||
}
|
||||
},
|
||||
},
|
||||
beforeCreate() {
|
||||
@@ -848,7 +861,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 750px) {
|
||||
@media screen and (max-width: 1024px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -963,7 +976,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 750px) {
|
||||
@media screen and (max-width: 1024px) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user