1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-30 11:56:54 +00:00
not-gwent-online/site/client/app/modules/inner/components/navigation.js

25 lines
466 B
JavaScript
Raw Normal View History

2015-06-21 14:34:27 +00:00
module.exports = {
2015-06-21 15:14:53 +00:00
template: require('../views/navigation.html'),
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: {
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
};