2015-06-21 19:20:17 +00:00
|
|
|
var router = require('./../routes');
|
2015-06-21 15:14:53 +00:00
|
|
|
|
2015-06-21 14:34:27 +00:00
|
|
|
module.exports = {
|
|
|
|
|
2015-06-21 15:14:53 +00:00
|
|
|
template: require('../views/navigation.html'),
|
|
|
|
|
2015-06-22 08:47:05 +00:00
|
|
|
inherit: true,
|
|
|
|
|
2015-06-22 17:16:22 +00:00
|
|
|
data: function() {
|
|
|
|
return {
|
|
|
|
// todo: work with slug filter
|
|
|
|
navigation: [
|
|
|
|
{ name: 'Lobby', route: '/lobby' },
|
|
|
|
{ name: 'Deck Builder', route: '/deck-builder' },
|
|
|
|
{ name: 'Highscore', route: '/highscore' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-06-21 15:14:53 +00:00
|
|
|
methods: {
|
2015-06-22 08:47:05 +00:00
|
|
|
searchMatch: function() {
|
2015-06-22 09:57:22 +00:00
|
|
|
this.modal = true;
|
|
|
|
// trigger match functions
|
2015-06-21 15:14:53 +00:00
|
|
|
}
|
|
|
|
}
|
2015-06-21 14:34:27 +00:00
|
|
|
|
|
|
|
};
|