2016-10-28 03:02:28 +11:00
|
|
|
import LoginForm from '../login_form/login_form.vue'
|
2016-10-31 02:53:58 +11:00
|
|
|
import PostStatusForm from '../post_status_form/post_status_form.vue'
|
2016-10-28 03:02:28 +11:00
|
|
|
|
|
|
|
const UserPanel = {
|
|
|
|
computed: {
|
|
|
|
user () { return this.$store.state.users.currentUser },
|
|
|
|
style () {
|
|
|
|
return {
|
|
|
|
color: `#${this.user.profile_link_color}`,
|
|
|
|
'background-image': `url(${this.user.cover_photo})`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
components: {
|
2016-10-31 02:53:58 +11:00
|
|
|
LoginForm,
|
|
|
|
PostStatusForm
|
2016-10-28 03:02:28 +11:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default UserPanel
|