Fix placement of Modrinth App promo and add toggle for the primary nav promos (#1315)

This commit is contained in:
Prospector
2023-08-20 12:23:17 -07:00
committed by GitHub
parent cfbf08dbf5
commit 12543be913
3 changed files with 36 additions and 10 deletions

View File

@@ -130,6 +130,22 @@
@change="saveCosmetics"
/>
</div>
<div class="adjacent-input small">
<label for="modrinth-app-promos">
<span class="label__title">Hide Modrinth App promotions</span>
<span class="label__description">
Hides the "Get Modrinth App" buttons from primary navigation. The Modrinth App page can
still be found on the landing page or in the footer.
</span>
</label>
<input
id="modrinth-app-promos"
v-model="cosmetics.hideModrinthAppPromos"
class="switch stylized-toggle"
type="checkbox"
@change="saveCosmetics"
/>
</div>
</section>
</div>
</template>