From b0c52b53c91e76f23ea0693f236411974eea98ad Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 24 Jul 2022 14:43:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Neaten=20footer=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageStrcture/Footer.vue | 44 +++++++++++++++----------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/src/components/PageStrcture/Footer.vue b/src/components/PageStrcture/Footer.vue index 7aeba252..366d0c80 100644 --- a/src/components/PageStrcture/Footer.vue +++ b/src/components/PageStrcture/Footer.vue @@ -1,16 +1,17 @@ @@ -23,13 +24,18 @@ export default { name: 'Footer', props: { text: String, - authorName: { type: String, default: 'Alicia Sykes' }, - authorUrl: { type: String, default: 'https://aliciasykes.com' }, - license: { type: String, default: 'MIT' }, - licenseUrl: { type: String, default: 'https://gist.github.com/Lissy93/143d2ee01ccc5c052a17' }, - date: { type: String, default: `${new Date().getFullYear()}` }, - showCopyright: { type: Boolean, default: true }, - repoUrl: { type: String, default: 'https://github.com/lissy93/dashy' }, + }, + data() { + return { + defaultInfo: { + authorName: 'Alicia Sykes', + authorUrl: 'https://github.com/lissy93', + license: 'MIT', + licenseUrl: 'https://gist.github.com/Lissy93/143d2ee01ccc5c052a17', + date: `${new Date().getFullYear()}`, + repoUrl: 'https://github.com/lissy93/dashy', + }, + }; }, computed: { visible() { @@ -56,7 +62,7 @@ footer { display: none; } span.path-to-config { - float: right; + float: left; font-size: 0.75rem; margin: 0.1rem 0.5rem 0 0; opacity: var(--dimming-factor);