blob: 418c3a6ff252c24527a35867b1e71798ac30a66c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import LoginForm from '../login_form/login_form.vue'
import PostStatusForm from '../post_status_form/post_status_form.vue'
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: {
LoginForm,
PostStatusForm
}
}
export default UserPanel
|