From 5ec4c53598899fc501cf4cbf88473790bf43fe9b Mon Sep 17 00:00:00 2001 From: axolotle Date: Mon, 25 Jul 2022 17:04:54 +0200 Subject: [PATCH] move bienvenue popup to HomeView --- src/App.vue | 6 -- src/pages/Home.vue | 148 ++++++++++++++++++++++++++++--------- src/pages/Introduction.vue | 59 +-------------- 3 files changed, 116 insertions(+), 97 deletions(-) diff --git a/src/App.vue b/src/App.vue index d8989dd..dbfc64e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,12 +23,6 @@ export default { NodesHistory }, - created () { - if (!this.$store.state.pages.visited) { - this.$router.push({ name: 'introduction' }) - } - }, - metaInfo () { return { // if no subcomponents specify a metaInfo.title, try to get one from the route name. diff --git a/src/pages/Home.vue b/src/pages/Home.vue index 4a08fbb..d64a278 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -1,44 +1,92 @@ diff --git a/src/pages/Introduction.vue b/src/pages/Introduction.vue index 08e4ff7..77a1546 100644 --- a/src/pages/Introduction.vue +++ b/src/pages/Introduction.vue @@ -1,5 +1,5 @@