adjust footer
Build / Build-image (push) Failing after 6s

This commit is contained in:
2026-09-24 16:13:57 +02:00
parent 91f661361d
commit 1b0892b670
4 changed files with 18 additions and 34 deletions
+14 -22
View File
@@ -1,30 +1,22 @@
<template>
<footer>
<slot>All rights reserved</slot>
<template v-if="this.date">
• {{ this.year }}
</template>
<img :src="'skonk/board/bottom/Quest_Board_bottom_fleur0005.png'">
</footer>
</template>
<script>
new Date().getFullYear()
export default {
data() {
return {
year: 0,
}
},
props: {
date: {
type: Boolean,
default: true,
}
},
mounted() {
this.year = new Date().getFullYear();
}
}
</script>
<style scoped>
footer {
position: fixed;
bottom: 0;
padding: 0;
background: var(--background-color);
background: linear-gradient(0deg, var(--background-color) 0%, var(--background-color) 80%, rgba(255, 255, 255, 0) 100%);
padding: 10px;
}
</style>