Add what is peertube video

This commit is contained in:
Chocobozzz 2019-11-26 10:51:25 +01:00
parent d3d78aeaac
commit e5eed5352e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 25 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View file

@ -14,7 +14,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
img { img,
.iframe-responsive {
margin: 30px 0; margin: 30px 0;
& + .citation { & + .citation {

View file

@ -174,7 +174,7 @@ article li > a {
.section-title { .section-title {
font-size: 34px; font-size: 34px;
font-weight: $font-semibold; font-weight: $font-semibold;
margin: 100px 0; margin: 100px 0 50px;
font-family: 'Proza Libre', sans-serif; font-family: 'Proza Libre', sans-serif;
.border-title { .border-title {
@ -360,3 +360,17 @@ article li > a {
text-align: center; text-align: center;
width: fit-content; width: fit-content;
} }
.iframe-responsive {
position: relative;
overflow: hidden;
padding-top: 56.25%;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}

View file

@ -57,11 +57,15 @@
<div class="border-title"></div> <div class="border-title"></div>
</div> </div>
<div class="two-columns"> <div class="one-column">
<img :src="buildImgUrl('peertube-interface.jpg')" alt=""/> <div class="iframe-responsive">
<iframe sandbox="allow-same-origin allow-scripts" src="https://framatube.org/videos/embed/9c9de5e8-0a1e-484a-b099-e80766180a6d" frameborder="0" allowfullscreen></iframe>
</div>
<div> <div>
<div class="citation"> <div class="citation">
<div class="left-bar"></div>
<div class="text" v-translate> <div class="text" v-translate>
PeerTube aspires to be a <strong>decentralized and free/libre alternative</strong> to video broadcasting services. PeerTube aspires to be a <strong>decentralized and free/libre alternative</strong> to video broadcasting services.
</div> </div>
@ -71,6 +75,8 @@
Our aim is not to replace them, but rather to simultaneously offer something else, with different values. Our aim is not to replace them, but rather to simultaneously offer something else, with different values.
</p> </p>
</div> </div>
<img :src="buildImgUrl('peertube-screenshot.jpg')" alt=""/>
</div> </div>
<div class="federation"> <div class="federation">