Move user-finder into navbar and hide it behind a toggle button, update fontello icons with user-plus and menu.

This commit is contained in:
Shpuld Shpuldson 2017-06-03 23:42:54 +03:00
commit bac1d3bd57
16 changed files with 77 additions and 30 deletions

View file

@ -1,6 +1,7 @@
const UserFinder = {
data: () => ({
username: undefined
username: undefined,
hidden: true
}),
methods: {
findUser (username) {
@ -11,6 +12,9 @@ const UserFinder = {
this.$router.push({name: 'user-profile', params: {id: user.id}})
}
})
},
toggleHidden () {
this.hidden = !this.hidden
}
}
}