Skip to content

Commit

Permalink
feat: review compose buttons (#2076)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev authored May 8, 2023
1 parent e9740fe commit 9d3c7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions components/nav/NavSide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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.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" />

<div class="spacer" shrink hidden sm:block />
<NavSideItem :text="$t('action.compose')" to="/compose" icon="i-ri:quill-pen-line" user-only :command="command" />

<div class="spacer" shrink hidden sm:block />
Expand Down
9 changes: 0 additions & 9 deletions components/nav/NavTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ router.afterEach(() => {
<div text-xl i-ri:arrow-left-line class="rtl-flip" btn-text />
</NuxtLink>
</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>
</template>

0 comments on commit 9d3c7ef

Please sign in to comment.