2020-08-27 14:44:21 +02:00
|
|
|
<template>
|
|
|
|
<footer id="main-footer">
|
|
|
|
<div class="header">
|
2022-02-23 15:21:02 +01:00
|
|
|
<img
|
|
|
|
src="/img/bottom-peertube-logo-v3.svg"
|
|
|
|
alt=""
|
|
|
|
>
|
|
|
|
|
|
|
|
<div
|
|
|
|
v-translate
|
|
|
|
class="description"
|
|
|
|
>
|
|
|
|
A free software to take back control of your videos
|
|
|
|
</div>
|
2020-08-27 14:44:21 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="columns">
|
|
|
|
<div>
|
2022-02-23 15:21:02 +01:00
|
|
|
<div
|
|
|
|
v-translate
|
|
|
|
class="subtitle"
|
|
|
|
>
|
|
|
|
Open your own videos website with PeerTube!
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
target="_blank"
|
|
|
|
href="https://docs.joinpeertube.org/#/install-any-os"
|
|
|
|
>Install PeerTube</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
target="_blank"
|
|
|
|
href="https://joinpeertube.org#what-is-peertube"
|
|
|
|
>Why should I have my own PeerTube website?</a>
|
2020-08-27 14:44:21 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2022-02-23 15:21:02 +01:00
|
|
|
<div
|
|
|
|
v-translate
|
|
|
|
class="subtitle"
|
|
|
|
>
|
|
|
|
Create an account to take back control of your videos
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
target="_blank"
|
|
|
|
href="https://joinpeertube.org/instances"
|
|
|
|
>Open an account on a PeerTube website</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
target="_blank"
|
|
|
|
href="https://docs.joinpeertube.org/#/use-library?id=playlist"
|
|
|
|
>Create playlists</a>
|
2020-08-27 14:44:21 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-02 10:17:50 +02:00
|
|
|
|
2020-09-02 11:53:15 +02:00
|
|
|
<div class="big-link">
|
2022-02-23 15:21:02 +01:00
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
href="https://joinpeertube.org"
|
|
|
|
target="_blank"
|
|
|
|
> >> Check all guides on joinpeertube.org << </a>
|
2020-09-02 10:17:50 +02:00
|
|
|
</div>
|
2020-09-02 11:53:15 +02:00
|
|
|
|
|
|
|
<div class="footer">
|
2022-02-23 15:21:02 +01:00
|
|
|
<a
|
|
|
|
v-translate
|
|
|
|
href="https://framagit.org/framasoft/peertube/search-index/"
|
|
|
|
target="_blank"
|
|
|
|
>Source code</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-if="legalNoticesUrl"
|
|
|
|
v-translate
|
|
|
|
:href="legalNoticesUrl"
|
|
|
|
target="_blank"
|
|
|
|
>Legal notices</a>
|
2020-09-02 11:53:15 +02:00
|
|
|
</div>
|
2020-08-27 14:44:21 +02:00
|
|
|
</footer>
|
|
|
|
</template>
|
|
|
|
|
2022-02-23 15:21:02 +01:00
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from 'vue'
|
|
|
|
import { getConfig } from '../shared/config'
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
legalNoticesUrl: ''
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
async mounted () {
|
|
|
|
const config = await getConfig()
|
|
|
|
|
|
|
|
this.legalNoticesUrl = config.legalNoticesUrl
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
2020-08-27 14:44:21 +02:00
|
|
|
<style lang="scss">
|
|
|
|
@import '../scss/_variables';
|
|
|
|
|
|
|
|
footer {
|
|
|
|
width: $container-width;
|
|
|
|
margin: auto;
|
|
|
|
background-color: $orange-lighten;
|
2020-09-02 11:53:15 +02:00
|
|
|
padding: 30px 100px 10px 100px;
|
2020-08-27 14:44:21 +02:00
|
|
|
font-family: monospace;
|
|
|
|
|
|
|
|
.header {
|
|
|
|
margin: 50px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-09-02 10:17:50 +02:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 500px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2020-08-27 14:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
2020-09-22 23:28:16 +02:00
|
|
|
color: $brown;
|
2020-09-02 10:17:50 +02:00
|
|
|
text-align: center;
|
2020-08-27 14:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.columns {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
2020-09-09 14:13:52 +02:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-right: 100px;
|
|
|
|
}
|
2020-08-27 14:44:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $container-width) {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
margin-top: 50px;
|
2020-09-09 14:13:52 +02:00
|
|
|
margin-right: 0 !important;
|
2020-08-27 14:44:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-02 11:53:15 +02:00
|
|
|
.columns a,
|
|
|
|
.big-link a {
|
2020-08-27 14:44:21 +02:00
|
|
|
color: $orange;
|
|
|
|
margin: 0 auto 20px auto;
|
|
|
|
min-height: 40px;
|
|
|
|
display: flex;
|
|
|
|
width: fit-content;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $orange-darken;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-02 11:53:15 +02:00
|
|
|
.subtitle {
|
2020-09-22 23:28:16 +02:00
|
|
|
color: $brown;
|
2020-09-02 11:53:15 +02:00
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.big-link {
|
2020-09-02 10:17:50 +02:00
|
|
|
margin-top: 50px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-02 11:53:15 +02:00
|
|
|
.footer {
|
|
|
|
margin-top: 80px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $orange;
|
|
|
|
font-size: 10px;
|
2020-09-02 14:07:22 +02:00
|
|
|
margin-right: 10px;
|
2020-09-02 11:53:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-27 14:44:21 +02:00
|
|
|
@media screen and (max-width: $container-width) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $small-view) {
|
|
|
|
padding: 30px;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2020-09-02 10:17:50 +02:00
|
|
|
|
|
|
|
.footer a {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2020-08-27 14:44:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|