Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Add more buttons for finding the Modrinth App (#1312)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Nitrrine authored Aug 18, 2023
1 parent fbb50d8 commit cd22e17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
<SettingsIcon class="icon" />
<span class="title">Settings</span>
</NuxtLink>
<NuxtLink class="item button-transparent get-the-app" to="/app">
<DownloadIcon class="icon" />
<span class="title">Get Modrinth App</span>
</NuxtLink>
<NuxtLink
v-if="tags.staffRoles.includes(auth.user.role)"
class="item button-transparent"
Expand Down Expand Up @@ -330,6 +334,10 @@
</a>
</div>
<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">
<MoonIcon v-if="$colorMode.value === 'light'" aria-hidden="true" />
<SunIcon v-else aria-hidden="true" />
Expand Down Expand Up @@ -1153,5 +1161,9 @@ export default defineNuxtComponent({
gap: 1rem;
padding: 0.5rem 1rem;
}
.get-the-app {
color: var(--color-brand) !important;
}
</style>
<style src="vue-multiselect/dist/vue-multiselect.css"></style>

0 comments on commit cd22e17

Please sign in to comment.