mirror of
https://github.com/elk-zone/elk
synced 2024-11-27 22:38:11 +09:00
23 lines
1.1 KiB
Vue
23 lines
1.1 KiB
Vue
<template>
|
|
<nav px3 py4 flex="~ col gap2" text-lg>
|
|
<template v-if="currentUser">
|
|
<NavSideItem text="Home" to="/home" icon="i-ri:home-5-line" />
|
|
<NavSideItem text="Notifications" to="/notifications" icon="i-ri:notification-4-line" />
|
|
</template>
|
|
<NavSideItem text="Explore" to="/explore" icon="i-ri:hashtag" />
|
|
<NavSideItem text="Local" to="/public/local" icon="i-ri:group-2-line " />
|
|
<NavSideItem text="Federated" to="/public" icon="i-ri:earth-line" />
|
|
<template v-if="currentUser">
|
|
<NavSideItem text="Conversations" to="/conversations" icon="i-ri:at-line" />
|
|
<NavSideItem text="Favourites" to="/favourites" icon="i-ri:heart-3-line" />
|
|
<NavSideItem text="Bookmarks" to="/bookmarks" icon="i-ri:bookmark-line " />
|
|
<NavSideItem :to="getAccountPath(currentUser.account)" icon="i-ri:list-check-2-line">
|
|
<template #icon>
|
|
<AccountAvatar :account="currentUser.account" h="1.2em" />
|
|
</template>
|
|
<ContentRich :content="getDisplayName(currentUser.account, { rich: true })" :emojis="currentUser.account.emojis" />
|
|
</NavSideItem>
|
|
</template>
|
|
</nav>
|
|
</template>
|