VueTube/NUXT/pages/settings.vue

44 lines
1.3 KiB
Vue
Raw Normal View History

2022-02-24 19:55:29 +00:00
<template>
2022-03-14 17:13:24 +00:00
<div style="padding-top: 1em;">
<v-list-item v-for="(item, index) in settingsItems" :key="index">
2022-02-24 19:55:29 +00:00
2022-03-14 17:24:47 +00:00
<v-btn text class="entry text-left text-capitalize" :to="item.to" :disabled="item.disabled">
2022-03-16 00:14:41 +00:00
<v-icon v-text="item.icon" size="30px" class="icon" />
2022-03-14 17:13:24 +00:00
{{ item.name }}
</v-btn>
2022-02-24 19:55:29 +00:00
2022-03-14 17:13:24 +00:00
</v-list-item>
</div>
2022-02-24 19:55:29 +00:00
</template>
2022-03-14 17:13:24 +00:00
<style scoped>
.entry {
width: 100%;
2022-03-16 00:14:41 +00:00
font-size: 1.2em;
2022-03-14 17:13:24 +00:00
justify-content: left !important;
padding: 1.5em 0.5em 1.5em 0.5em !important;
}
.icon {
margin-right: 0.5em;
}
</style>
2022-02-25 00:33:03 +00:00
<script>
export default {
2022-03-14 17:13:24 +00:00
data() {
return {
settingsItems: [
{ name: "General", icon: "mdi-cog", to: "", disabled: true },
{ name: "Theme", icon: "mdi-brush-variant", to: "/mods/theme" },
{ name: "Player", icon: "mdi-motion-play-outline", to: "", disabled: true },
{ name: "UI Tweaker", icon: "mdi-television-guide", to: "", disabled: true },
2022-03-16 00:31:03 +00:00
{ name: "Startup Options", icon: "mdi-restart", to: "/mods/startup", },
2022-03-14 17:13:24 +00:00
{ name: "Updates", icon: "mdi-cloud-download-outline", to: "/mods/updates" },
{ name: "Logs", icon: "mdi-text-box-outline", to: "/mods/logs" },
{ name: "About", icon: "mdi-information-outline", to: "/mods/about" },
]
2022-02-25 00:33:03 +00:00
}
}
}
</script>