forked from nutomic/joinpeertube
Add footer
This commit is contained in:
parent
c26181dbd1
commit
1dbc198684
2 changed files with 61 additions and 1 deletions
|
@ -3,16 +3,20 @@
|
||||||
<header-component></header-component>
|
<header-component></header-component>
|
||||||
|
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
|
|
||||||
|
<footer-component></footer-component>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import HeaderComponent from './components/Header.vue'
|
import HeaderComponent from './components/Header.vue'
|
||||||
|
import FooterComponent from './components/Footer.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'app',
|
name: 'app',
|
||||||
components: {
|
components: {
|
||||||
HeaderComponent
|
HeaderComponent,
|
||||||
|
FooterComponent
|
||||||
},
|
},
|
||||||
metaInfo: function () {
|
metaInfo: function () {
|
||||||
return {
|
return {
|
||||||
|
|
56
src/components/Footer.vue
Normal file
56
src/components/Footer.vue
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
<template>
|
||||||
|
<footer>
|
||||||
|
<div>
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://framasoft.org/en/legals/" v-translate>Legal notices</a>
|
||||||
|
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://contact.framasoft.org" v-translate>Contact</a>
|
||||||
|
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://framalistes.org/sympa/subscribe/peertube-newsletter" v-translate>Newsletter</a>
|
||||||
|
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://framacolibri.org/c/peertube" v-translate>Forum</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://framagit.org/framasoft/peertube/joinpeertube" v-translate>JoinPeerTube Git</a>
|
||||||
|
|
||||||
|
<a target="_blank" rel="noopener noreferrer" href="https://github.com/Chocobozzz/PeerTube" v-translate>PeerTube Git</a>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import '../scss/_variables.scss';
|
||||||
|
@import '../scss/_mixins.scss';
|
||||||
|
|
||||||
|
footer {
|
||||||
|
margin-top: 30px;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 30px 200px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
color: #000;
|
||||||
|
font-weight: $font-semibold;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: $responsive-screen) {
|
||||||
|
footer {
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in a new issue