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

30 lines
497 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"
2021-04-24 15:04:35 +00:00
key="user-panel-signed"
2019-07-05 07:17:44 +00:00
class="panel panel-default signed-in"
>
<UserCard
2020-04-23 11:44:55 +00:00
:user-id="user.id"
2019-07-05 07:17:44 +00:00
:hide-bio="true"
rounded="top"
/>
<PostStatusForm />
2016-10-27 16:02:28 +00:00
</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;
z-index: 10;
}
</style>