2019-04-03 17:29:03 +02:00
|
|
|
<template>
|
2019-10-01 20:10:53 +02:00
|
|
|
<footer class="footer" ref="footer">
|
2019-04-03 17:29:03 +02:00
|
|
|
<mobilizon-logo :invert="true" class="logo" />
|
2019-09-12 11:34:01 +02:00
|
|
|
<img src="../assets/footer.png" :alt="$t('World map')" />
|
2019-04-03 17:29:03 +02:00
|
|
|
<ul>
|
2019-09-12 11:34:01 +02:00
|
|
|
<li><a href="https://joinmobilizon.org">{{ $t('About') }}</a></li>
|
2019-12-20 13:04:34 +01:00
|
|
|
<li><router-link :to="{ name: RouteName.TERMS }">{{ $t('Terms') }}</router-link></li>
|
2019-09-12 11:34:01 +02:00
|
|
|
<li><a href="https://framagit.org/framasoft/mobilizon/blob/master/LICENSE">{{ $t('License') }}</a></li>
|
2019-04-03 17:29:03 +02:00
|
|
|
</ul>
|
|
|
|
<div class="content has-text-centered">
|
2019-09-12 11:34:01 +02:00
|
|
|
<span>{{ $t('© The Mobilizon Contributors {date} - Made with Elixir, Phoenix, VueJS & with some love and some weeks', { date: new Date().getFullYear()}) }}</span>
|
2019-04-03 17:29:03 +02:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
|
|
|
import Logo from './Logo.vue';
|
2019-12-20 13:04:34 +01:00
|
|
|
import { RouteName } from '@/router';
|
2019-04-03 17:29:03 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
components: {
|
|
|
|
'mobilizon-logo': Logo,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class Footer extends Vue {
|
2019-12-20 13:04:34 +01:00
|
|
|
RouteName = RouteName;
|
2019-04-03 17:29:03 +02:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import "../variables.scss";
|
|
|
|
|
|
|
|
footer.footer {
|
|
|
|
color: $secondary;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.logo {
|
2019-04-24 20:50:05 +02:00
|
|
|
fill: $secondary;
|
2019-04-03 17:29:03 +02:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.content {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul li {
|
|
|
|
display: inline-flex;
|
|
|
|
margin: auto 5px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #eee;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
text-decoration: underline;
|
|
|
|
text-decoration-color: $secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|