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