import Vue from 'vue'
import FtCard from '../../components/ft-card/ft-card.vue'
import FtElementList from '../../components/ft-element-list/ft-element-list.vue'
import FtButton from '../../components/ft-button/ft-button.vue'
const { version } = require('../../../../package.json')
export default Vue.extend({
name: 'About',
components: {
'ft-card': FtCard,
'ft-element-list': FtElementList,
'ft-button': FtButton
},
data: function () {
return {
versionNumber: `v${version}`,
chunks: [
{
icon: ['fab', 'github'],
title: this.$t('About.Source code'),
content: `GitHub: FreeTubeApp/FreeTube
${this.$t('About.Licensed under the AGPLv3')} ${this.$t('About.View License')}`
},
{
icon: 'file-download',
title: this.$t('About.Downloads / Changelog'),
content: `${this.$t('About.GitHub releases')}`
},
{
icon: 'question-circle',
title: this.$t('About.Help'),
content: `${this.$t('About.FreeTube Wiki')} / ${this.$t('About.FAQ')}`
},
{
icon: 'exclamation-circle',
title: this.$t('About.Report a problem'),
content: `${this.$t('About.GitHub issues')}
${this.$t('About.Please check for duplicates before posting')}`
},
{
icon: 'globe',
title: this.$t('About.Website'),
content: 'https://freetubeapp.io/'
},
{
icon: 'newspaper',
title: this.$t('About.Blog'),
content: 'https://blog.freetubeapp.io'
},
{
icon: 'envelope',
title: this.$t('About.Email'),
content: 'FreeTubeApp@protonmail.com'
},
{
icon: ['fab', 'mastodon'],
title: this.$t('About.Mastodon'),
content: '@FreeTube@mastodon.technology'
},
{
icon: 'comment-dots',
title: this.$t('About.Chat on Matrix'),
content: `#freetube:matrix.org
${this.$t('About.Please read the')} ${this.$t('About.room rules')}`
},
{
icon: 'language',
title: this.$t('About.Translate'),
content: 'https://hosted.weblate.org/engage/free-tube/'
},
{
icon: 'users',
title: this.$t('About.Credits'),
content: `${this.$t('About.FreeTube is made possible by')} ${this.$t('About.these people and projects')}`
},
{
icon: 'heart',
title: `${this.$t('About.Donate')} - Liberapay`,
content: 'https://liberapay.com/FreeTube'
},
{
icon: ['fab', 'bitcoin'],
title: `${this.$t('About.Donate')} - BTC`,
content: '1Lih7Ho5gnxb1CwPD4o59ss78pwo2T91eS'
},
{
icon: ['fab', 'monero'],
title: `${this.$t('About.Donate')} - XMR`,
content: '48WyAPdjwc6VokeXACxSZCFeKEXBiYPV6GjfvBsfg4CrUJ95LLCQSfpM9pvNKy5GE5H4hNaw99P8RZyzmaU9kb1pD7kzhCB'
}
]
}
}
})