mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
27 lines
504 B
JavaScript
27 lines
504 B
JavaScript
var router = require('./../routes');
|
|
|
|
module.exports = {
|
|
|
|
template: require('../views/navigation.html'),
|
|
|
|
inherit: true,
|
|
|
|
data: function() {
|
|
return {
|
|
// todo: work with slug filter
|
|
navigation: [
|
|
{ name: 'Lobby', route: '/lobby' },
|
|
{ name: 'Deck Builder', route: '/deck-builder' },
|
|
{ name: 'Highscore', route: '/highscore' }
|
|
]
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
searchMatch: function() {
|
|
this.modal = true;
|
|
// trigger match functions
|
|
}
|
|
}
|
|
|
|
}; |