+
+
@@ -10,6 +11,7 @@
import SimpleLayout from '@/layouts/SimpleLayout';
import BlankLayout from '@/layouts/BlankLayout';
import Modal from '@/components/Modal';
+ import MobileNavigation from '@/components/MobileNavigation';
import NewContentBlockWizard from '@/components/content-block-form/NewContentBlockWizard';
import EditContentBlockWizard from '@/components/content-block-form/EditContentBlockWizard';
import NewRoomEntryWizard from '@/components/rooms/room-entries/NewRoomEntryWizard';
@@ -21,6 +23,8 @@
import FullscreenInfographic from '@/components/FullscreenInfographic';
import FullscreenVideo from '@/components/FullscreenVideo';
+ import {mapGetters} from 'vuex';
+
export default {
name: 'App',
@@ -29,6 +33,7 @@
SimpleLayout,
BlankLayout,
Modal,
+ MobileNavigation,
NewContentBlockWizard,
EditContentBlockWizard,
NewRoomEntryWizard,
@@ -45,9 +50,7 @@
layout() {
return (this.$route.meta.layout || 'default') + '-layout';
},
- showModal() {
- return this.$store.state.showModal
- }
+ ...mapGetters(['showModal', 'showMobileNavigation'])
},
mounted() {
@@ -58,9 +61,16 @@
diff --git a/client/src/components/MobileNavigation.vue b/client/src/components/MobileNavigation.vue
new file mode 100644
index 00000000..5219504d
--- /dev/null
+++ b/client/src/components/MobileNavigation.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
diff --git a/client/src/components/NewsTeaser.vue b/client/src/components/NewsTeaser.vue
index c2235dcd..d55a2cd3 100644
--- a/client/src/components/NewsTeaser.vue
+++ b/client/src/components/NewsTeaser.vue
@@ -4,8 +4,8 @@
{{title}}
- {{date}}
-
+ {{date}}
+