2016-10-28 03:01:48 +11:00
|
|
|
import UserPanel from './components/user_panel/user_panel.vue'
|
2016-11-07 06:11:23 +11:00
|
|
|
import NavPanel from './components/nav_panel/nav_panel.vue'
|
2016-10-27 04:03:55 +11:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'app',
|
|
|
|
components: {
|
2016-11-07 06:11:23 +11:00
|
|
|
UserPanel,
|
|
|
|
NavPanel
|
2016-11-04 02:58:32 +11:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
user () { return this.$store.state.users.currentUser || {} },
|
|
|
|
style () { return { 'background-image': `url(${this.user.background_image})` } }
|
2016-10-27 04:03:55 +11:00
|
|
|
}
|
|
|
|
}
|