Add problem reporting buttons in about page

This commit is contained in:
Late Night Defender 2023-11-30 22:38:11 +07:00
parent cea70a1d42
commit f13ecf92ab

View file

@ -35,6 +35,24 @@
<v-list-item-title v-text="item.text"></v-list-item-title> <v-list-item-title v-text="item.text"></v-list-item-title>
</v-list-item> </v-list-item>
</v-list> </v-list>
<v-list class = "ma-2" density="compact">
<v-list-subheader>รายงานปญหาและขอเสนอแนะ</v-list-subheader>
<v-list-item
v-for="(item, i) in report_items"
:key="i"
:value="item"
:href="item.link"
>
<template v-slot:append>
<!-- <v-icon :icon="item.icon"></v-icon> -->
<img src="../../icons/Adwaita/right.svg">
</template>
<v-list-item-title v-text="item.text"></v-list-item-title>
</v-list-item>
</v-list>
</v-sheet> </v-sheet>
@ -53,6 +71,18 @@ import {RouterLink} from 'vue-router';
icon: 'mdi-chevron-right',} icon: 'mdi-chevron-right',}
] ]
const report_items = [
{ text: 'Discord',
icon: 'mdi-chevron-right',
link: 'https://discord.gg/6aPemyuSzx'},
{ text: 'Facebook',
icon: 'mdi-chevron-right',
link: 'https://www.facebook.com/openKMITL'},
{ text: 'Google Forms',
icon: 'mdi-chevron-right',
link: 'https://forms.google.com'},
]
</script> </script>
<style> <style>