Adds option for custom background image and footer

This commit is contained in:
Alicia Sykes
2021-05-04 19:43:42 +01:00
parent 2831391ad4
commit b44707ab3c
5 changed files with 27 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
<template>
<footer>
<!-- User Footer -->
<footer v-if="text && text !== ''">{{text}}</footer>
<!-- Default Footer -->
<footer v-else>
Developed by <a :href="authorUrl">{{authorName}}</a>.
Licensed under <a :href="licenseUrl">{{license}}</a>
{{ showCopyright? '©': '' }} {{date}}.
@@ -18,6 +21,7 @@ export default {
date: { type: String, default: `${new Date().getFullYear()}` },
showCopyright: { type: Boolean, default: true },
repoUrl: { type: String, default: 'https://github.com/lissy93/panel' },
text: String,
},
};
</script>