feat: review compose buttons (#2076)

zio/stable
patak 2023-05-08 08:45:27 +02:00 committed by GitHub
parent e9740fe693
commit 9d3c7ef116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View File

@ -25,6 +25,8 @@ const useStarFavoriteIcon = usePreferences('useStarFavoriteIcon')
<NavSideItem :text="$t('nav.conversations')" to="/conversations" icon="i-ri:at-line" user-only :command="command" /> <NavSideItem :text="$t('nav.conversations')" to="/conversations" icon="i-ri:at-line" user-only :command="command" />
<NavSideItem :text="$t('nav.favourites')" to="/favourites" :icon="useStarFavoriteIcon ? 'i-ri:star-line' : 'i-ri:heart-3-line'" user-only :command="command" /> <NavSideItem :text="$t('nav.favourites')" to="/favourites" :icon="useStarFavoriteIcon ? 'i-ri:star-line' : 'i-ri:heart-3-line'" user-only :command="command" />
<NavSideItem :text="$t('nav.bookmarks')" to="/bookmarks" icon="i-ri:bookmark-line" user-only :command="command" /> <NavSideItem :text="$t('nav.bookmarks')" to="/bookmarks" icon="i-ri:bookmark-line" user-only :command="command" />
<div class="spacer" shrink hidden sm:block />
<NavSideItem :text="$t('action.compose')" to="/compose" icon="i-ri:quill-pen-line" user-only :command="command" /> <NavSideItem :text="$t('action.compose')" to="/compose" icon="i-ri:quill-pen-line" user-only :command="command" />
<div class="spacer" shrink hidden sm:block /> <div class="spacer" shrink hidden sm:block />

View File

@ -45,15 +45,6 @@ router.afterEach(() => {
<div text-xl i-ri:arrow-left-line class="rtl-flip" btn-text /> <div text-xl i-ri:arrow-left-line class="rtl-flip" btn-text />
</NuxtLink> </NuxtLink>
</CommonTooltip> </CommonTooltip>
<CommonTooltip :content="$t('action.compose')">
<NuxtLink
to="/compose"
:aria-label="$t('action.compose')"
btn-action-icon
>
<div text-xl i-ri:quill-pen-line user-only class="rtl-flip" btn-text />
</NuxtLink>
</CommonTooltip>
</div> </div>
</div> </div>
</template> </template>