aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_panel/user_panel.vue
blob: 83eb099fdce88a4ba3bee781ae3fb8b253de1bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
  <div class="user-panel">
    <div v-if='user' class="panel panel-default" style="overflow: visible;">
      <user-card-content :activatePanel="activatePanel" :user="user" :switcher="false" :hideBio="true"></user-card-content>
      <div class="panel-footer">
        <post-status-form v-if='user'></post-status-form>
      </div>
    </div>
    <login-form v-if='!user'></login-form>
  </div>
</template>

<script src="./user_panel.js"></script>

<style lang="scss">
.user-panel {
  .profile-panel-background .panel-heading {
    background: transparent;
    flex-direction: column;
    align-items: stretch;
  }
}
</style>