You've already forked AstralRinth
forked from didirus/AstralRinth
Add more buttons for finding the Modrinth App (#1312)
* Get the App button * Get the App button * Get the app -> Get Modrinth App & Add this button to account dropdown * Using normal styles instead of inline styles
This commit is contained in:
@@ -94,6 +94,10 @@
|
|||||||
<SettingsIcon class="icon" />
|
<SettingsIcon class="icon" />
|
||||||
<span class="title">Settings</span>
|
<span class="title">Settings</span>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
<NuxtLink class="item button-transparent get-the-app" to="/app">
|
||||||
|
<DownloadIcon class="icon" />
|
||||||
|
<span class="title">Get Modrinth App</span>
|
||||||
|
</NuxtLink>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
v-if="tags.staffRoles.includes(auth.user.role)"
|
v-if="tags.staffRoles.includes(auth.user.role)"
|
||||||
class="item button-transparent"
|
class="item button-transparent"
|
||||||
@@ -330,6 +334,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
|
<nuxt-link class="btn btn-outline btn-primary" to="/app">
|
||||||
|
<DownloadIcon aria-hidden="true" />
|
||||||
|
Get Modrinth App
|
||||||
|
</nuxt-link>
|
||||||
<button class="iconified-button raised-button" @click="changeTheme">
|
<button class="iconified-button raised-button" @click="changeTheme">
|
||||||
<MoonIcon v-if="$colorMode.value === 'light'" aria-hidden="true" />
|
<MoonIcon v-if="$colorMode.value === 'light'" aria-hidden="true" />
|
||||||
<SunIcon v-else aria-hidden="true" />
|
<SunIcon v-else aria-hidden="true" />
|
||||||
@@ -1153,5 +1161,9 @@ export default defineNuxtComponent({
|
|||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.get-the-app {
|
||||||
|
color: var(--color-brand) !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style src="vue-multiselect/dist/vue-multiselect.css"></style>
|
<style src="vue-multiselect/dist/vue-multiselect.css"></style>
|
||||||
|
|||||||
Reference in New Issue
Block a user