mirror of
https://github.com/exane/not-gwent-online
synced 2025-09-02 14:07:31 +00:00
rewrite navigation
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
module.exports = {
|
||||
|
||||
template: "<h2>deckbuilder hier</h2>"
|
||||
template: "<h2>deckbuilder hier</h2>",
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
};
|
@@ -2,6 +2,8 @@ module.exports = {
|
||||
|
||||
template: require('../views/inner.html'),
|
||||
|
||||
inherit: true,
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
modal: false
|
||||
|
@@ -6,6 +6,17 @@ module.exports = {
|
||||
|
||||
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;
|
||||
|
Reference in New Issue
Block a user