mirror of
https://github.com/exane/not-gwent-online
synced 2026-01-14 03:33:50 +00:00
redefine app structure
This commit is contained in:
25
site/client/app/modules/inner/components/navigation.js
Normal file
25
site/client/app/modules/inner/components/navigation.js
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user