2020-05-08 18:02:18 +02:00
|
|
|
<template>
|
|
|
|
<div id="footer" class="text-light">
|
|
|
|
<div class="footer-left-elements">
|
|
|
|
<ul class="footer-elements">
|
|
|
|
<li class="footer-element">
|
2020-05-31 17:56:33 +02:00
|
|
|
<i class="material-icons md-18 mr-1">memory</i>
|
|
|
|
<small>{{ appVersion }}</small>
|
2020-05-08 18:02:18 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footer-right-elements">
|
|
|
|
<ul class="footer-elements">
|
2020-05-31 17:56:33 +02:00
|
|
|
<li class="footer-element footer-link">
|
|
|
|
<i class="material-icons md-18 mr-1">favorite</i>
|
|
|
|
<small>{{ $t('word.donate') }}</small>
|
2020-05-08 18:02:18 +02:00
|
|
|
</li>
|
2020-05-31 17:56:33 +02:00
|
|
|
<li class="footer-element footer-link">
|
|
|
|
<i class="material-icons md-18">bug_report</i>
|
|
|
|
</li>
|
|
|
|
<li class="footer-element footer-link" @click="showSettingModal('about')">
|
2020-05-08 18:02:18 +02:00
|
|
|
<i class="material-icons md-18">info_outline</i>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-05-31 17:56:33 +02:00
|
|
|
import { mapActions, mapGetters } from 'vuex';
|
2020-05-08 18:02:18 +02:00
|
|
|
|
|
|
|
export default {
|
2020-05-31 17:56:33 +02:00
|
|
|
name: 'TheFooter',
|
|
|
|
computed: {
|
|
|
|
...mapGetters({
|
|
|
|
appName: 'application/appName',
|
|
|
|
appVersion: 'application/appVersion'
|
|
|
|
})
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
...mapActions({
|
|
|
|
showSettingModal: 'application/showSettingModal'
|
|
|
|
})
|
|
|
|
}
|
2020-05-08 18:02:18 +02:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
#footer{
|
|
|
|
height: $footer-height;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
background: $primary-color;
|
|
|
|
padding: 0 .2rem;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
box-shadow: 0 0 1px 0px #000;
|
|
|
|
|
|
|
|
.footer-elements{
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
display: flex;
|
2020-05-31 17:56:33 +02:00
|
|
|
align-items: center;
|
2020-05-08 18:02:18 +02:00
|
|
|
|
|
|
|
.footer-element{
|
2020-05-31 17:56:33 +02:00
|
|
|
height: $footer-height;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-05-08 18:02:18 +02:00
|
|
|
padding: 0 .4rem;
|
2020-05-31 17:56:33 +02:00
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&.footer-link{
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background .2s;
|
|
|
|
|
|
|
|
&:hover{
|
|
|
|
background: rgba($color: #fff, $alpha: .1);
|
|
|
|
}
|
|
|
|
}
|
2020-05-08 18:02:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|