Add an install PeerTube button

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-10-16 13:04:54 +02:00
parent 7a671cef88
commit 9be5b49d29
4 changed files with 16 additions and 2 deletions

View file

@ -333,6 +333,16 @@ a.button {
} }
} }
.release {
a {
color: #F1680D;
}
a.frama_campaign {
margin-right: 7px;
}
}
@media (min-width: 1200px) { @media (min-width: 1200px) {
[lang="fr"] .intro .col-md-pull-6 a { [lang="fr"] .intro .col-md-pull-6 a {
margin-top: 36px; margin-top: 36px;

View file

@ -5,7 +5,8 @@
<div class="col-sm-12 text-center"> <div class="col-sm-12 text-center">
<h1 v-html="$t('home.title')"></h1> <h1 v-html="$t('home.title')"></h1>
<h2 v-html="$t('home.intro.title')"></h2> <h2 v-html="$t('home.intro.title')"></h2>
<div class="col-md-6 well col-md-push-6"> <div class="col-md-6 col-md-push-6 release">
<div class="alert alert-info">
<!-- <div class="embed-responsive embed-responsive-16by9"> <!-- <div class="embed-responsive embed-responsive-16by9">
<iframe v-if="$t('lang') === 'fr'" <iframe v-if="$t('lang') === 'fr'"
class="embed-responsive-item" allowfullscreen class="embed-responsive-item" allowfullscreen
@ -21,6 +22,8 @@
</p> </p>
<p class="text-left" v-html="$t('home.release.title')"></p> <p class="text-left" v-html="$t('home.release.title')"></p>
<a class="frama_campaign" href="https://framasoft.org" v-html="$t('home.release.button')"></a> <a class="frama_campaign" href="https://framasoft.org" v-html="$t('home.release.button')"></a>
<a href="https://github.com/Chocobozzz/PeerTube#package-create-your-own-instance" v-html="$t('home.release.install')"></a>
</div>
</div> </div>
<div class="col-md-6 col-md-pull-6"> <div class="col-md-6 col-md-pull-6">
<img :src="`${$root['/']}img/notebook.jpg`" class="img-responsive" alt=""> <img :src="`${$root['/']}img/notebook.jpg`" class="img-responsive" alt="">

View file

@ -24,6 +24,7 @@ home:
announce: PeerTube v1.0 🎉 announce: PeerTube v1.0 🎉
title: The first version of PeerTube is out! Help us to pursue its development. title: The first version of PeerTube is out! Help us to pursue its development.
button: Support button: Support
install: Install PeerTube
why: why:
power: power:
title: Take back the power… and the responsibilities! title: Take back the power… and the responsibilities!

View file

@ -25,7 +25,7 @@ home:
title: <a href="https://framablog.org/2018/10/15/peertube-1-0-la-plateforme-de-videos-libre-et-federee/"> title: <a href="https://framablog.org/2018/10/15/peertube-1-0-la-plateforme-de-videos-libre-et-federee/">
La première version de PeerTube est sortie !</a> Aidez-nous à poursuivre son développement. La première version de PeerTube est sortie !</a> Aidez-nous à poursuivre son développement.
button: Soutenir button: Soutenir
blog: Lire l'annonce sur le Framablog install: Installer PeerTube
why: why:
power: power:
title: Reprenez le pouvoir… et les responsabilités! title: Reprenez le pouvoir… et les responsabilités!