1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-07-21 04:13:28 +00:00
Files
assets
client
new_public
public
server
site
client
app
modules
deck-builder
inner
components
chat.js
inner.js
navigation.js
search-match.js
views
landing
lobby
session
app.js
routes.js
assets
app.blade.php
gulpfile.js
package.json
public
server
test
.gitignore
Config.example..js
gulpfile.js
package.json
not-gwent-online/site/client/app/modules/inner/components/navigation.js
2015-06-23 10:36:29 +02:00

25 lines
466 B
JavaScript

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
}
}
};