logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

user_panel.vue (609B)


  1. <template>
  2. <aside class="user-panel">
  3. <div
  4. v-if="signedIn"
  5. key="user-panel-signed"
  6. class="panel panel-default signed-in"
  7. >
  8. <UserCard
  9. :user-id="user.id"
  10. :hide-bio="true"
  11. rounded="top"
  12. />
  13. <PostStatusForm />
  14. </div>
  15. <auth-form
  16. v-else
  17. key="user-panel"
  18. />
  19. </aside>
  20. </template>
  21. <script src="./user_panel.js"></script>
  22. <style lang="scss">
  23. .user-panel {
  24. .panel {
  25. background: var(--background);
  26. backdrop-filter: var(--backdrop-filter);
  27. }
  28. .signed-in {
  29. overflow: visible;
  30. z-index: 10;
  31. }
  32. }
  33. </style>