feat: categorized sidebar

This commit is contained in:
patak 2023-01-06 10:44:02 +01:00
parent c11a7cc225
commit 36f11e48da
3 changed files with 19 additions and 16 deletions

View file

@ -11,11 +11,9 @@ const wideLayout = computed(() => route.meta.wideLayout ?? false)
<div sticky top-0 w-20 xl:w-100 h-screen flex="~ col" lt-xl-items-center>
<slot name="left">
<div flex="~ col" overflow-y-auto justify-between h-full max-w-full mt-5>
<div flex flex-col gap-2>
<NavTitle />
<NavSide command />
<!-- <PublishButton ms5.5 mt4 xl:me8 xl:ms4 /> -->
</div>
<NavTitle />
<NavSide command />
<div flex-auto />
<div v-if="isMastoInitialised" flex flex-col>
<div hidden xl:block>
<UserSignInEntry v-if="!currentUser" />