From 77641ee5175cade24a07df8c5fa91b8c24fe66ea Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Sat, 9 Jan 2021 12:51:42 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Chart.vue=20and=20Table.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No login or actions, only the routing elements --- web/src/router/index.ts | 25 +++++++++++++++++++++++++ web/src/views/Chart.vue | 21 +++++++++++++++++++++ web/src/views/Table.vue | 21 +++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 web/src/views/Chart.vue create mode 100644 web/src/views/Table.vue diff --git a/web/src/router/index.ts b/web/src/router/index.ts index 8d44218..656d8eb 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -41,6 +41,31 @@ const routes: Array = [ name: 'Athlete', component: () => import('../views/Athlete.vue') }, + { + path: 'athletes/:id/table', + name: 'Table', + component: () => import('../views/Table.vue') + }, + { + path: 'athletes/:id/chart', + name: 'Chart', + component: () => import('../views/Chart.vue') + }, + { + path: 'guide', + name: 'Guide', + component: () => import('../views/DashboardHome.vue') + }, + { + path: 'ticket', + name: 'Ticket', + component: () => import('../views/DashboardHome.vue') + }, + { + path: 'docs', + name: 'Docs', + component: () => import('../views/DashboardHome.vue') + }, ], meta: { requiresAuth: true diff --git a/web/src/views/Chart.vue b/web/src/views/Chart.vue new file mode 100644 index 0000000..0ff8213 --- /dev/null +++ b/web/src/views/Chart.vue @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/web/src/views/Table.vue b/web/src/views/Table.vue new file mode 100644 index 0000000..b653f00 --- /dev/null +++ b/web/src/views/Table.vue @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file