1
0

chore: layout

This commit is contained in:
Anthony Fu 2022-11-23 11:49:21 +08:00
parent 241b28241c
commit fc4437838a

View File

@ -5,10 +5,11 @@
<div sticky top-0 h-screen flex="~ col"> <div sticky top-0 h-screen flex="~ col">
<slot name="left"> <slot name="left">
<template v-if="currentUser"> <template v-if="currentUser">
<AccountSwitcher />
<PublishWidget px4 draft-key="home" /> <PublishWidget px4 draft-key="home" />
</template> </template>
<AccountSignInEntry v-else /> <AccountSignInEntry v-else />
<div flex-auto />
<AccountSwitcher v-if="currentUser" />
</slot> </slot>
</div> </div>
</div> </div>