diff --git a/src/renderer/components/ft-logo-full/ft-logo-full.css b/src/renderer/components/FtLogoFull/FtLogoFull.css similarity index 100% rename from src/renderer/components/ft-logo-full/ft-logo-full.css rename to src/renderer/components/FtLogoFull/FtLogoFull.css diff --git a/src/renderer/components/ft-logo-full/ft-logo-full.vue b/src/renderer/components/FtLogoFull/FtLogoFull.vue similarity index 99% rename from src/renderer/components/ft-logo-full/ft-logo-full.vue rename to src/renderer/components/FtLogoFull/FtLogoFull.vue index d73063727f3ef..1450d4aceb946 100644 --- a/src/renderer/components/ft-logo-full/ft-logo-full.vue +++ b/src/renderer/components/FtLogoFull/FtLogoFull.vue @@ -1,6 +1,5 @@ - + diff --git a/src/renderer/views/About/About.css b/src/renderer/views/About/About.css index 38c5e66ce287d..51416a5c72566 100644 --- a/src/renderer/views/About/About.css +++ b/src/renderer/views/About/About.css @@ -8,7 +8,7 @@ text-align: center; } -.ft-logo-full { +.logo { max-inline-size: 100%; inline-size: 500px; } diff --git a/src/renderer/views/About/About.js b/src/renderer/views/About/About.js deleted file mode 100644 index d47e65713089e..0000000000000 --- a/src/renderer/views/About/About.js +++ /dev/null @@ -1,84 +0,0 @@ -import { defineComponent } from 'vue' -import FtCard from '../../components/ft-card/ft-card.vue' -import packageDetails from '../../../../package.json' -import { ABOUT_BITCOIN_ADDRESS } from '../../../constants' -import FtLogoFull from '../../components/ft-logo-full/ft-logo-full.vue' - -export default defineComponent({ - name: 'About', - components: { - 'ft-card': FtCard, - 'ft-logo-full': FtLogoFull, - }, - data: function () { - return { - versionNumber: `v${packageDetails.version}` - } - }, - computed: { - chunks: function () { - return [ - { - icon: ['fab', 'github'], - title: this.$t('About.Source code'), - content: `GitHub: FreeTubeApp/FreeTube${this.$t('About.Licensed under the')} ${this.$t('About.AGPLv3')}` - }, - { - icon: ['fas', 'file-download'], - title: this.$t('About.Downloads / Changelog'), - content: `${this.$t('About.GitHub releases')}` - }, - { - icon: ['fas', 'question-circle'], - title: this.$t('About.Help'), - content: `${this.$t('About.FreeTube Wiki')} / ${this.$t('About.FAQ')} / ${this.$t('About.Discussions')}` - }, - { - icon: ['fas', '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: ['fas', 'globe'], - title: this.$t('About.Website'), - content: 'https://freetubeapp.io/' - }, - { - icon: ['fas', 'newspaper'], - title: this.$t('About.Blog'), - content: 'https://blog.freetubeapp.io' - }, - { - icon: ['fas', 'envelope'], - title: this.$t('About.Email'), - content: 'FreeTubeApp@protonmail.com' - }, - { - icon: ['fab', 'mastodon'], - title: this.$t('About.Mastodon'), - content: '@FreeTube@fosstodon.org' - }, - { - icon: ['fas', '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: ['fas', 'language'], - title: this.$t('About.Translate'), - content: 'https://hosted.weblate.org/engage/free-tube/' - }, - { - icon: ['fas', 'users'], - title: this.$t('About.Credits'), - content: `${this.$t('About.FreeTube is made possible by')} ${this.$t('About.these people and projects')}` - }, - { - icon: ['fab', 'bitcoin'], - title: `${this.$t('About.Donate')} - BTC`, - content: `${ABOUT_BITCOIN_ADDRESS}` - } - ] - } - } -}) diff --git a/src/renderer/views/About/About.vue b/src/renderer/views/About/About.vue index 6aec14edadf3a..c56b167753be5 100644 --- a/src/renderer/views/About/About.vue +++ b/src/renderer/views/About/About.vue @@ -1,11 +1,11 @@ - + {{ $t("About.About") }} - + {{ versionNumber }} {{ $t("About.Beta") }} @@ -16,7 +16,7 @@ :key="chunk.title" class="chunk" > - @@ -29,9 +29,87 @@ /> - + - + +