mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- Implement emails.js in backend as well. - Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
51 lines
1.2 KiB
Vue
51 lines
1.2 KiB
Vue
<template>
|
|
<div id="footer" class="ds-footer">
|
|
<!-- links to internal or external pages -->
|
|
<span v-for="pageParams in links.FOOTER_LINK_LIST" :key="pageParams.name">
|
|
<page-params-link :pageParams="pageParams">
|
|
{{ $t(pageParams.internalPage.footerIdent) }}
|
|
</page-params-link>
|
|
<span class="division-line">-</span>
|
|
</span>
|
|
<!-- version -->
|
|
<a
|
|
href="https://github.com/Ocelot-Social-Community/Ocelot-Social/blob/master/CHANGELOG.md"
|
|
target="_blank"
|
|
data-test="version-link"
|
|
>
|
|
{{ version }}
|
|
</a>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import links from '~/constants/links.js'
|
|
import PageParamsLink from '~/components/_new/features/PageParamsLink/PageParamsLink.vue'
|
|
|
|
export default {
|
|
components: {
|
|
PageParamsLink,
|
|
},
|
|
data() {
|
|
return { links, version: `v${this.$env.VERSION}` }
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.ds-footer {
|
|
text-align: center;
|
|
position: fixed;
|
|
bottom: 0px;
|
|
z-index: 10;
|
|
background-color: white;
|
|
width: 100%;
|
|
padding: 10px 10px;
|
|
box-shadow: 0px -6px 12px -4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.division-line {
|
|
margin-left: 0.2rem;
|
|
margin-right: 0.2rem;
|
|
}
|
|
</style>
|