From b698f1c5f94c3e7122d6418bd23f9c74161f13af Mon Sep 17 00:00:00 2001
From: Jannik Schönartz
Date: Fri, 10 May 2019 13:30:26 +0000
Subject: [webapp] Add a simple home / welcome landing page

---
 webapp/src/components/DashboardPage.vue | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'webapp/src/components/DashboardPage.vue')

diff --git a/webapp/src/components/DashboardPage.vue b/webapp/src/components/DashboardPage.vue
index 4f7dc03..68c3973 100644
--- a/webapp/src/components/DashboardPage.vue
+++ b/webapp/src/components/DashboardPage.vue
@@ -47,7 +47,7 @@
 
     <v-toolbar :height="$vuetify.breakpoint.smAndDown ? 56 : 64" dark app :clipped-left="settings.clipped" class="non-selectable" style="z-index: 10;" id="topbar">
       <v-toolbar-side-icon class="drawer-icon" @click.stop="toggleDrawer"></v-toolbar-side-icon>
-      <div class="logo"><img class="non-draggable hidden-md-and-down" src="@/assets/logo.svg" /></div>
+      <a class="logo" href="/dashboard/home"><img class="non-draggable hidden-md-and-down" src="@/assets/logo.svg" /></a>
       <v-spacer></v-spacer>
       <v-btn v-if="devMode" icon @click="$store.commit('saveSetting', { name: 'locale', value: settings.locale === 'en' ? 'de' : 'en' })"><v-icon>language</v-icon></v-btn>
       <v-btn icon @click="$store.commit('saveSetting', { name: 'dark', value: !settings.dark })"><v-icon>invert_colors</v-icon></v-btn>
@@ -90,10 +90,11 @@
 
 <script>
 import { mapState, mapMutations, mapGetters } from 'vuex'
+import AccountModule from '@/components/AccountModule'
 import BackToTopButton from '@/components/BackToTopButton'
+import HomeModule from '@/components/HomeModule'
 import NotificationsAlerts from '@/components/NotificationsAlerts'
 import NotificationsSnackbars from '@/components/NotificationsSnackbars'
-import AccountModule from '@/components/AccountModule'
 import SettingsModule from '@/components/SettingsModule'
 import dashboardCategories from '@/config/dashboard'
 
@@ -102,7 +103,8 @@ export default {
   routes () {
     return [
       { path: 'account', component: AccountModule },
-      { path: 'settings', component: SettingsModule }
+      { path: 'settings', component: SettingsModule },
+      { path: 'home', component: HomeModule }
     ]
   },
   components: {
-- 
cgit v1.2.3-55-g7522

