aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_panel/user_panel.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-30 22:27:19 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-30 22:27:19 +0100
commit83a376a25460f029c2f49ebca5509a9add7cdb44 (patch)
treeb39698fcb11203a49452587dc2023e984ddf8982 /src/components/user_panel/user_panel.js
parentdcb9a5fa17afe96dcd651e28809ea551ee89c0f6 (diff)
Extract user card from user content.
Diffstat (limited to 'src/components/user_panel/user_panel.js')
-rw-r--r--src/components/user_panel/user_panel.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/user_panel/user_panel.js b/src/components/user_panel/user_panel.js
index 418c3a6f..15804b88 100644
--- a/src/components/user_panel/user_panel.js
+++ b/src/components/user_panel/user_panel.js
@@ -1,19 +1,15 @@
import LoginForm from '../login_form/login_form.vue'
import PostStatusForm from '../post_status_form/post_status_form.vue'
+import UserCardContent from '../user_card_content/user_card_content.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})`
- }
- }
+ user () { return this.$store.state.users.currentUser }
},
components: {
LoginForm,
- PostStatusForm
+ PostStatusForm,
+ UserCardContent
}
}