sepia-search-motore-di-rice.../client/src/components/Footer.vue

139 lines
2.8 KiB
Vue

<template>
<footer id="main-footer">
<div class="header">
<img src="/img/bottom-peertube-logo.svg" alt="">
<div v-translate class="description">A free software to take back control of your videos</div>
</div>
<div class="columns">
<div>
<div v-translate class="subtitle">Open your own videos website with PeerTube!</div>
<a target="_blank" v-translate href="https://docs.joinpeertube.org/#/install-any-os">Install PeerTube</a>
<a target="_blank" v-translate href="https://joinpeertube.org#what-is-peertube">Why should I have my own PeerTube website?</a>
</div>
<div>
<div v-translate class="subtitle">Create an account to take back control of your videos</div>
<a target="_blank" v-translate href="https://joinpeertube.org/instances">Open an account on a PeerTube website</a>
<a target="_blank" v-translate href="https://docs.joinpeertube.org/#/use-library?id=playlist">Create playlists</a>
</div>
</div>
<div class="footer">
<a href="https://joinpeertube.org" target="_blank" v-translate> &gt;&gt; Check all guides on joinpeertube.org &lt;&lt; </a>
</div>
</footer>
</template>
<style lang="scss">
@import '../scss/_variables';
footer {
width: $container-width;
margin: auto;
background-color: $orange-lighten;
padding: 30px 100px;
font-family: monospace;
.header {
margin: 50px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
img {
width: 100%;
max-width: 500px;
margin-bottom: 20px;
}
}
.description {
color: $grey;
text-align: center;
}
.columns {
display: flex;
> div {
display: flex;
flex-direction: column;
text-align: center;
}
@media screen and (max-width: $container-width) {
flex-direction: column;
> div {
margin-top: 50px;
}
}
}
.subtitle {
color: $grey;
font-size: 20px;
margin-bottom: 50px;
}
a {
color: $orange;
margin: 0 auto 20px auto;
min-height: 40px;
display: flex;
width: fit-content;
&:hover {
color: $orange-darken;
}
}
.footer {
margin-top: 50px;
a {
font-size: 20px;
font-weight: bold;
text-decoration: none;
text-align: center;
}
}
@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;
}
.footer a {
font-size: 16px;
}
}
}
</style>
<script>
import Vue from 'vue'
export default Vue.extend({
})
</script>