2019-04-03 15:29:03 +00:00
|
|
|
<template>
|
2020-02-18 07:57:00 +00:00
|
|
|
<footer class="footer" ref="footer">
|
|
|
|
<mobilizon-logo :invert="true" class="logo" />
|
2020-06-15 16:12:49 +00:00
|
|
|
<!-- <img src="../assets/footer.png" :alt="$t('World map')" /> -->
|
2020-02-18 07:57:00 +00:00
|
|
|
<ul>
|
|
|
|
<li>
|
2020-06-15 16:12:49 +00:00
|
|
|
<router-link :to="{ name: RouteName.ABOUT }">{{ $t("About") }}</router-link>
|
2020-02-18 07:57:00 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.TERMS }">{{ $t("Terms") }}</router-link>
|
|
|
|
</li>
|
|
|
|
<li>
|
2020-09-29 07:53:48 +00:00
|
|
|
<a hreflang="en" href="https://framagit.org/framasoft/mobilizon/blob/master/LICENSE">
|
2020-02-18 07:57:00 +00:00
|
|
|
{{ $t("License") }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="content has-text-centered">
|
2020-06-15 16:12:49 +00:00
|
|
|
<i18n
|
|
|
|
tag="span"
|
|
|
|
path="Powered by {mobilizon}. © 2018 - {date} The Mobilizon Contributors - Made with the financial support of {contributors}."
|
|
|
|
>
|
|
|
|
<a slot="mobilizon" href="https://joinmobilizon.org">{{ $t("Mobilizon") }}</a>
|
|
|
|
<span slot="date">{{ new Date().getFullYear() }}</span>
|
|
|
|
<a href="https://joinmobilizon.org/hall-of-fame" slot="contributors">{{
|
|
|
|
$t("more than 1360 contributors")
|
|
|
|
}}</a>
|
|
|
|
</i18n>
|
2020-02-18 07:57:00 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2019-04-03 15:29:03 +00:00
|
|
|
</template>
|
|
|
|
<script lang="ts">
|
2020-02-18 07:57:00 +00:00
|
|
|
import { Component, Vue } from "vue-property-decorator";
|
|
|
|
import RouteName from "../router/name";
|
|
|
|
import Logo from "./Logo.vue";
|
2019-04-03 15:29:03 +00:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
components: {
|
2020-02-18 07:57:00 +00:00
|
|
|
"mobilizon-logo": Logo,
|
2019-04-03 15:29:03 +00:00
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class Footer extends Vue {
|
2019-12-20 12:04:34 +00:00
|
|
|
RouteName = RouteName;
|
2019-04-03 15:29:03 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
2020-02-18 07:57:00 +00:00
|
|
|
footer.footer {
|
|
|
|
color: $secondary;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2020-06-15 16:12:49 +00:00
|
|
|
font-size: 14px;
|
2019-04-03 15:29:03 +00:00
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
.logo {
|
|
|
|
fill: $secondary;
|
|
|
|
flex: 1;
|
|
|
|
max-width: 300px;
|
2020-06-15 16:12:49 +00:00
|
|
|
margin-bottom: 2rem;
|
2020-02-18 07:57:00 +00:00
|
|
|
}
|
2019-04-03 15:29:03 +00:00
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
div.content {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2019-04-03 15:29:03 +00:00
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
ul li {
|
|
|
|
display: inline-flex;
|
|
|
|
margin: auto 5px;
|
|
|
|
a {
|
2020-06-15 16:12:49 +00:00
|
|
|
font-size: 1.1rem;
|
2019-04-03 15:29:03 +00:00
|
|
|
}
|
2020-02-18 07:57:00 +00:00
|
|
|
}
|
2020-06-15 16:12:49 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $white;
|
|
|
|
text-decoration: underline;
|
|
|
|
text-decoration-color: $secondary;
|
|
|
|
}
|
2020-02-18 07:57:00 +00:00
|
|
|
}
|
2019-04-03 15:29:03 +00:00
|
|
|
</style>
|