@@ -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>
|
||||
Reference in New Issue
Block a user