From 822c9d04c7d8d11958ba24b022b4b52ae0a3a442 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 3 Dec 2023 04:16:10 +0100 Subject: [PATCH] Add /about --- vue/src/components/NavBar.vue | 1 + vue/src/main.js | 5 +++++ vue/src/views/AboutView.vue | 41 +++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 vue/src/views/AboutView.vue diff --git a/vue/src/components/NavBar.vue b/vue/src/components/NavBar.vue index 99011f4..216bc05 100644 --- a/vue/src/components/NavBar.vue +++ b/vue/src/components/NavBar.vue @@ -5,6 +5,7 @@ user login ... + about diff --git a/vue/src/main.js b/vue/src/main.js index ea0574e..b2bbf93 100644 --- a/vue/src/main.js +++ b/vue/src/main.js @@ -6,6 +6,7 @@ import './registerServiceWorker' import './index.css' import HomeView from '@/views/HomeView' +import AboutView from '@/views/AboutView' import LoginView from '@/views/LoginView' import UserView from '@/views/UserView' import MarketView from '@/views/MarketView' @@ -16,10 +17,14 @@ import UserOrders from '@/components/UserOrders' import OrderForm from '@/components/OrderForm' import MarketOrders from '@/components/MarketOrders' import MarketStats from '@/components/MarketStats' + const routes = [ { path: '/', component: HomeView }, + { + path: '/about', component: AboutView + }, { path: '/login', component: LoginView }, diff --git a/vue/src/views/AboutView.vue b/vue/src/views/AboutView.vue new file mode 100644 index 0000000..33090be --- /dev/null +++ b/vue/src/views/AboutView.vue @@ -0,0 +1,41 @@ + + +