diff --git a/src/App.vue b/src/App.vue index 0a2981c..2ee801c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,13 +26,15 @@ return { title: 'JoinPeerTube', titleTemplate: '%s | JoinPeerTube', - meta: { - description: this.$gettext( - 'A free software to take back control of your videos! ' + - 'With more than 100 000 hosted videos, viewed more than 6 millions times and 20 000 users, ' + - 'PeerTube is the decentralized free software alternative to videos platforms developed by Framasoft' - ) - } + meta: [ + { + description: this.$gettext( + 'A free software to take back control of your videos! ' + + 'With more than 100 000 hosted videos, viewed more than 6 millions times and 20 000 users, ' + + 'PeerTube is the decentralized free software alternative to videos platforms developed by Framasoft' + ) + } + ] } } } diff --git a/src/components/AccordionElement.vue b/src/components/AccordionElement.vue new file mode 100644 index 0000000..ce0a77f --- /dev/null +++ b/src/components/AccordionElement.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/src/main.js b/src/main.js index e42bcab..c2cdb02 100644 --- a/src/main.js +++ b/src/main.js @@ -10,6 +10,7 @@ import Help from './views/Help' import News from './views/News' import Instances from './views/Instances' import HallOfFame from './views/Hall-Of-Fame' +import FAQ from './views/FAQ' import './scss/main.scss' import CommonMixins from './mixins/CommonMixins' @@ -75,6 +76,10 @@ const routes = [ { path: '/hall-of-fame', component: HallOfFame + }, + { + path: '/faq', + component: FAQ } ] @@ -131,7 +136,7 @@ if (!(navigator.doNotTrack === 'yes' || const nowTs = Math.round(now.getTime() / 1000) const visitorInfo = self.getVisitorInfo() const createTs = parseInt(visitorInfo[2], 10) - const cookieTimeout = 33696000 // 13 mois en secondes + const cookieTimeout = 33696000 // 13 months in seconds return (createTs + cookieTimeout) - nowTs } diff --git a/src/views/FAQ.vue b/src/views/FAQ.vue index c4a601d..a5d5bfa 100644 --- a/src/views/FAQ.vue +++ b/src/views/FAQ.vue @@ -1,117 +1,448 @@ + + + +