ui: move publish widget

This commit is contained in:
Anthony Fu 2022-11-24 15:53:27 +08:00
parent 0dc515647f
commit cd2a06e969
7 changed files with 65 additions and 62 deletions

View file

@ -4,10 +4,7 @@
<div class="hidden md:block w-1/4 zen-hide" relative>
<div sticky top-0 h-screen flex="~ col">
<slot name="left">
<template v-if="currentUser">
<PublishWidget px4 mt16 draft-key="home" />
</template>
<UserSignInEntry v-else />
<UserSignInEntry v-if="!currentUser" />
<div flex-auto />
<AccountInfo
v-if="currentUser"