Adds option for custom background image and footer
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user