diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue
index df6a808..191df5d 100644
--- a/src/components/Navbar.vue
+++ b/src/components/Navbar.vue
@@ -7,7 +7,7 @@
@@ -36,6 +36,18 @@
+ -
+
+
+
+
-
{{ link.title }}
@@ -52,10 +64,12 @@ import { mapState, mapActions, mapMutations } from 'vuex';
export default {
name: 'Navbar',
data: () => ({
- links: [
- {'title':'items','path':'/'},
+ views: [
+ {'title':'items','path':'/items/'},
{'title':'boxes','path':'/boxes/'},
- {'title':'mass-edit','path':'#'},
+ {'title':'mass-edit','path':'/#'},
+ ],
+ links: [
{'title':'howto engel','path':'/howto/'}
],
buttons: [
diff --git a/src/store/index.js b/src/store/index.js
index 333e093..b771019 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -5,7 +5,11 @@ Vue.use(Vuex);
export default new Vuex.Store({
state: {
- events: ['35c3', 'camp19', '36c3'],
+ events: [
+ {'slug': '35c3'},
+ {'slug': 'camp19'},
+ {'slug': '36c3'}
+ ],
activeEvent: '36c3',
layout: 'cards',
loadedItems: [