ui: move nav to left
This commit is contained in:
parent
e9c9ecefc8
commit
5aea158cf0
|
@ -4,11 +4,13 @@
|
||||||
<div class="hidden md:block w-1/4 zen-hide" relative>
|
<div class="hidden md:block w-1/4 zen-hide" relative>
|
||||||
<div sticky top-0 h-screen flex="~ col">
|
<div sticky top-0 h-screen flex="~ col">
|
||||||
<slot name="left">
|
<slot name="left">
|
||||||
<UserSignInEntry v-if="!currentUser" />
|
<NavTitle p5 />
|
||||||
|
<NavSide border="y base" />
|
||||||
|
<PublishButton v-if="currentUser" m5 />
|
||||||
<div flex-auto />
|
<div flex-auto />
|
||||||
<AccountInfo
|
<AccountInfo
|
||||||
v-if="currentUser"
|
v-if="currentUser"
|
||||||
mx4 mb4 p2 rounded
|
m5 p2 rounded-full
|
||||||
hover:bg-active cursor-pointer transition-100
|
hover:bg-active cursor-pointer transition-100
|
||||||
:account="currentUser?.account"
|
:account="currentUser?.account"
|
||||||
:link="false"
|
:link="false"
|
||||||
|
@ -23,9 +25,7 @@
|
||||||
<div class="hidden md:block w-1/4 zen-hide">
|
<div class="hidden md:block w-1/4 zen-hide">
|
||||||
<div sticky top-0 h-screen flex="~ col">
|
<div sticky top-0 h-screen flex="~ col">
|
||||||
<slot name="right">
|
<slot name="right">
|
||||||
<NavTitle p5 />
|
<UserSignInEntry v-if="!currentUser" />
|
||||||
<NavSide border="y base" />
|
|
||||||
<PublishButton v-if="currentUser" m5 />
|
|
||||||
<div flex-auto />
|
<div flex-auto />
|
||||||
<NavFooter />
|
<NavFooter />
|
||||||
</slot>
|
</slot>
|
||||||
|
|
Loading…
Reference in a new issue