From ea33436e9a0d7c84e256a955415735897797ea54 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 21 Jul 2021 17:12:42 +0100 Subject: [PATCH] :construction: Created files for Minimal view --- src/components/MinimalView/MinimalSection.vue | 115 ++++++++++ src/router.js | 11 + src/views/Minimal.vue | 214 ++++++++++++++++++ 3 files changed, 340 insertions(+) create mode 100644 src/components/MinimalView/MinimalSection.vue create mode 100644 src/views/Minimal.vue diff --git a/src/components/MinimalView/MinimalSection.vue b/src/components/MinimalView/MinimalSection.vue new file mode 100644 index 00000000..1529cfa3 --- /dev/null +++ b/src/components/MinimalView/MinimalSection.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/router.js b/src/router.js index f20b9803..05eee347 100644 --- a/src/router.js +++ b/src/router.js @@ -4,6 +4,7 @@ import Router from 'vue-router'; import Home from '@/views/Home.vue'; import Login from '@/views/Login.vue'; import Workspace from '@/views/Workspace.vue'; +import Minimal from '@/views/Minimal.vue'; import DownloadConfig from '@/views/DownloadConfig.vue'; import { isLoggedIn } from '@/utils/Auth'; import { config } from '@/utils/ConfigHelpers'; @@ -38,6 +39,16 @@ const router = new Router({ metaTags: metaTagData, }, }, + { + path: '/minimal', + name: 'minimal', + component: Minimal, + props: config, + meta: { + title: config.pageInfo.title || 'Dashy Start Page', + metaTags: metaTagData, + }, + }, { path: '/login', name: 'login', diff --git a/src/views/Minimal.vue b/src/views/Minimal.vue new file mode 100644 index 00000000..531455a2 --- /dev/null +++ b/src/views/Minimal.vue @@ -0,0 +1,214 @@ + + + + +