29 lines
497 B
Vue
29 lines
497 B
Vue
<template>
|
|
<div class="user-panel">
|
|
<div
|
|
v-if="signedIn"
|
|
key="user-panel-signed"
|
|
class="panel panel-default signed-in"
|
|
>
|
|
<UserCard
|
|
:user-id="user.id"
|
|
:hide-bio="true"
|
|
rounded="top"
|
|
/>
|
|
<PostStatusForm />
|
|
</div>
|
|
<auth-form
|
|
v-else
|
|
key="user-panel"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script src="./user_panel.js"></script>
|
|
|
|
<style lang="scss">
|
|
.user-panel .signed-in {
|
|
overflow: visible;
|
|
z-index: 10;
|
|
}
|
|
</style>
|