akkoma-fe/src/components/user_panel/user_panel.vue

31 lines
531 B
Vue
Raw Normal View History

2016-10-27 16:02:28 +00:00
<template>
<div class="user-panel">
2019-07-05 07:17:44 +00:00
<div
v-if="signedIn"
key="user-panel"
class="panel panel-default signed-in"
>
<UserCard
:user="user"
:hide-bio="true"
rounded="top"
/>
<div class="panel-footer">
2019-07-05 07:17:44 +00:00
<post-status-form v-if="user" />
2016-10-27 16:02:28 +00:00
</div>
</div>
2019-07-05 07:17:44 +00:00
<auth-form
v-else
key="user-panel"
/>
2016-10-27 16:02:28 +00:00
</div>
</template>
<script src="./user_panel.js"></script>
<style lang="scss">
.user-panel .signed-in {
overflow: visible;
}
</style>