From bb3ebbb7c31f22490e81460cab4ff247874240cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Wed, 2 Aug 2023 18:48:07 +0200 Subject: [PATCH] Add an about view --- src/components/ExternalLinkComponent.vue | 7 +++++ src/components/NavBarComponent.vue | 1 + src/router/index.js | 6 ++++ src/views/AboutView.vue | 36 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 src/components/ExternalLinkComponent.vue create mode 100644 src/views/AboutView.vue diff --git a/src/components/ExternalLinkComponent.vue b/src/components/ExternalLinkComponent.vue new file mode 100644 index 0000000..8f3abe1 --- /dev/null +++ b/src/components/ExternalLinkComponent.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/components/NavBarComponent.vue b/src/components/NavBarComponent.vue index 6132ae0..96776cc 100644 --- a/src/components/NavBarComponent.vue +++ b/src/components/NavBarComponent.vue @@ -23,6 +23,7 @@ const toggleBurger = () => { diff --git a/src/router/index.js b/src/router/index.js index 0f5e207..a6b9d4b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2,6 +2,7 @@ import {createRouter, createMemoryHistory} from 'vue-router'; import { useStorage } from '@vueuse/core' import MainView from '../views/MainView.vue'; +import AboutView from '../views/AboutView.vue'; import AddAccountView from '../views/AddAccountView.vue'; import DeleteAccountView from '../views/DeleteAccountView.vue'; @@ -19,6 +20,11 @@ const router = createRouter({ } } }, + { + path: '/about', + name: 'about', + component: AboutView + }, { path: '/add-account', name: 'add-account', diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue new file mode 100644 index 0000000..ed3f42a --- /dev/null +++ b/src/views/AboutView.vue @@ -0,0 +1,36 @@ + + +