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

34 lines
713 B
Vue

<template>
<div>
<div class="user-profile panel panel-default">
<user-card-content :user="user"></user-card-content>
</div>
<div class="timeline panel panel-default" v-if="isLocalUser">
<div class="panel-heading">User Timeline</div>
<div class="panel-body">
<Timeline v-bind:timeline="timeline" v-bind:timeline-name="userTimelineName" v-bind:user-screen-name="userScreenName" />
</div>
</div>
</div>
</template>
<script src="./user_profile.js"></script>
<style lang="scss">
.user-profile {
flex: 2;
flex-basis: 500px;
}
.user-info {
.following-info {
display: flex;
div {
flex: 1;
}
}
}
</style>