Working on adding a workspace/ sidebar view

This commit is contained in:
Alicia Sykes
2021-06-15 14:22:22 +01:00
parent f3bee653a0
commit 491c07ed67
12 changed files with 203 additions and 14 deletions

View File

@@ -3,8 +3,10 @@ import Router from 'vue-router';
import Home from '@/views/Home.vue';
import Login from '@/views/Login.vue';
import Workspace from '@/views/Workspace.vue';
import { isLoggedIn } from '@/utils/Auth';
import { appConfig, pageInfo, sections } from '@/utils/ConfigAccumalator';
import { metaTagData } from '@/utils/defaults';
Vue.use(Router);
@@ -26,12 +28,17 @@ const router = new Router({
},
meta: {
title: pageInfo.title || 'Home Page',
metaTags: [
{
name: 'description',
content: 'A simple static homepage for you\'re server',
},
],
metaTags: metaTagData,
},
},
{
path: '/workspace',
name: 'workspace',
component: Workspace,
props: { appConfig, pageInfo, sections },
meta: {
title: pageInfo.title || 'Dashy Workspace',
metaTags: metaTagData,
},
},
{