feat: basic mutli-accounts support
This commit is contained in:
parent
24c573ccf0
commit
241b28241c
15 changed files with 170 additions and 34 deletions
|
@ -4,7 +4,10 @@
|
|||
<div class="hidden md:block w-1/4" relative>
|
||||
<div sticky top-0 h-screen flex="~ col">
|
||||
<slot name="left">
|
||||
<AccountMe v-if="currentUser" />
|
||||
<template v-if="currentUser">
|
||||
<AccountSwitcher />
|
||||
<PublishWidget px4 draft-key="home" />
|
||||
</template>
|
||||
<AccountSignInEntry v-else />
|
||||
</slot>
|
||||
</div>
|
||||
|
@ -23,5 +26,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<ModalContainer />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue