pleroma-fe/src/components/user_profile/user_profile.vue

23 lines
541 B
Vue
Raw Normal View History

2016-11-30 22:32:22 +00:00
<template>
2017-06-12 14:20:02 +00:00
<div>
<div v-if="user" class="user-profile panel panel-default">
<user-card-content :user="user" :switcher="true" :selected="timeline.viewing"></user-card-content>
2017-06-12 14:20:02 +00:00
</div>
2018-03-12 00:59:03 +00:00
<Timeline :title="$t('user_profile.timeline_title')" :timeline="timeline" :timeline-name="'user'" :user-id="userId"/>
2016-11-30 22:32:22 +00:00
</div>
</template>
<script src="./user_profile.js"></script>
2016-12-08 08:09:21 +00:00
<style lang="scss">
.user-profile {
2018-04-07 16:30:27 +00:00
flex: 2;
flex-basis: 500px;
padding-bottom: 10px;
.panel-heading {
background: transparent;
}
}
2016-12-08 08:09:21 +00:00
</style>