mirror of https://github.com/FreeTubeApp/FreeTube
93 lines
4.0 KiB
JavaScript
93 lines
4.0 KiB
JavaScript
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: `<a href="https://github.com/FreeTubeApp/FreeTube">GitHub: FreeTubeApp/FreeTube</a><br>${this.$t('About.Licensed under the AGPLv3')} <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">${this.$t('About.View License')}</a>`
|
|
},
|
|
{
|
|
icon: 'file-download',
|
|
title: this.$t('About.Downloads / Changelog'),
|
|
content: `<a href="https://github.com/FreeTubeApp/FreeTube/releases">${this.$t('About.GitHub releases')}</a>`
|
|
},
|
|
{
|
|
icon: 'question-circle',
|
|
title: this.$t('About.Help'),
|
|
content: `<a href="https://docs.freetubeapp.io/">${this.$t('About.FreeTube Wiki')}</a> / <a href="https://docs.freetubeapp.io/faq/">${this.$t('About.FAQ')}</a>`
|
|
},
|
|
{
|
|
icon: 'exclamation-circle',
|
|
title: this.$t('About.Report a problem'),
|
|
content: `<a href="https://github.com/FreeTubeApp/FreeTube/issues">${this.$t('About.GitHub issues')}</a><br>${this.$t('About.Please check for duplicates before posting')}`
|
|
},
|
|
{
|
|
icon: 'globe',
|
|
title: this.$t('About.Website'),
|
|
content: '<a href="https://freetubeapp.io/">https://freetubeapp.io/</a>'
|
|
},
|
|
{
|
|
icon: 'newspaper',
|
|
title: this.$t('About.Blog'),
|
|
content: '<a href="https://blog.freetubeapp.io">https://blog.freetubeapp.io</a>'
|
|
},
|
|
{
|
|
icon: 'envelope',
|
|
title: this.$t('About.Email'),
|
|
content: '<a href="mailto:FreeTubeApp@protonmail.com">FreeTubeApp@protonmail.com</a>'
|
|
},
|
|
{
|
|
icon: ['fab', 'mastodon'],
|
|
title: this.$t('About.Mastodon'),
|
|
content: '<a href="https://mastodon.technology/@FreeTube">@FreeTube@mastodon.technology</a>'
|
|
},
|
|
{
|
|
icon: 'comment-dots',
|
|
title: this.$t('About.Chat on Matrix'),
|
|
content: `<a href="https://matrix.to/#/#freetube:matrix.org?via=matrix.org&via=privacytools.io&via=tchncs.de">#freetube:matrix.org</a><br>${this.$t('About.Please read the')} <a href="https://docs.freetubeapp.io/community/matrix/">${this.$t('About.room rules')}</a>`
|
|
},
|
|
{
|
|
icon: 'language',
|
|
title: this.$t('About.Translate'),
|
|
content: '<a href="https://hosted.weblate.org/engage/free-tube/">https://hosted.weblate.org/engage/free-tube/</a>'
|
|
},
|
|
{
|
|
icon: 'users',
|
|
title: this.$t('About.Credits'),
|
|
content: `${this.$t('About.FreeTube is made possible by')} <a href="https://docs.freetubeapp.io/credits/">${this.$t('About.these people and projects')}</a>`
|
|
},
|
|
{
|
|
icon: 'heart',
|
|
title: `${this.$t('About.Donate')} - Liberapay`,
|
|
content: '<a href="https://liberapay.com/FreeTube">https://liberapay.com/FreeTube</a>'
|
|
},
|
|
{
|
|
icon: ['fab', 'bitcoin'],
|
|
title: `${this.$t('About.Donate')} - BTC`,
|
|
content: '<a href="bitcoin:1Lih7Ho5gnxb1CwPD4o59ss78pwo2T91eS">1Lih7Ho5gnxb1CwPD4o59ss78pwo2T91eS</a>'
|
|
},
|
|
{
|
|
icon: ['fab', 'monero'],
|
|
title: `${this.$t('About.Donate')} - XMR`,
|
|
content: '<a href="monero:48WyAPdjwc6VokeXACxSZCFeKEXBiYPV6GjfvBsfg4CrUJ95LLCQSfpM9pvNKy5GE5H4hNaw99P8RZyzmaU9kb1pD7kzhCB">48WyAPdjwc6VokeXACxSZCFeKEXBiYPV6GjfvBsfg4CrUJ95LLCQSfpM9pvNKy5GE5H4hNaw99P8RZyzmaU9kb1pD7kzhCB</a>'
|
|
}
|
|
]
|
|
}
|
|
}
|
|
})
|