From f2f3c2bbfda5406fca897fa94d45706fd52b548d Mon Sep 17 00:00:00 2001 From: Rene Fischer Date: Fri, 26 Jun 2020 18:10:57 +0200 Subject: [PATCH] fix styling and title Co-authored-by: Niko Lockenvitz --- {public/img => src/assets}/flash.svg | 0 {public/img => src/assets}/flashAppIcon.svg | 0 src/components/layout/NavigationBar.vue | 8 +++++++- src/views/About.vue | 5 ++++- vue.config.js | 8 ++++++++ 5 files changed, 19 insertions(+), 2 deletions(-) rename {public/img => src/assets}/flash.svg (100%) rename {public/img => src/assets}/flashAppIcon.svg (100%) diff --git a/public/img/flash.svg b/src/assets/flash.svg similarity index 100% rename from public/img/flash.svg rename to src/assets/flash.svg diff --git a/public/img/flashAppIcon.svg b/src/assets/flashAppIcon.svg similarity index 100% rename from public/img/flashAppIcon.svg rename to src/assets/flashAppIcon.svg diff --git a/src/components/layout/NavigationBar.vue b/src/components/layout/NavigationBar.vue index e1509df..455ed85 100644 --- a/src/components/layout/NavigationBar.vue +++ b/src/components/layout/NavigationBar.vue @@ -12,7 +12,7 @@ > - + @@ -144,4 +144,10 @@ export default class NavigationBar extends NavigationBarProps { diff --git a/src/views/About.vue b/src/views/About.vue index a52fbd6..51ffa06 100644 --- a/src/views/About.vue +++ b/src/views/About.vue @@ -8,7 +8,7 @@ Share Fancy Flashcard - + © {{ new Date().getFullYear() }} Niko Lockenvitz & Rene-Pascal Fischer
diff --git a/vue.config.js b/vue.config.js index 75fed36..2b16249 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,4 +9,12 @@ module.exports = { short_name: "FFC", }, }, + chainWebpack: config => { + config + .plugin('html') + .tap(args => { + args[0].title = 'Fancy Flashcard' + return args + }) + }, };