2022-11-15 20:14:10 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-23 17:50:03 +03:00
|
|
|
<div px3 py4 flex="~ col gap2" text-lg>
|
2022-11-23 02:08:36 +03:00
|
|
|
<template v-if="currentUser">
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/home" active-class="text-primary"
|
|
|
|
>
|
2022-11-18 00:32:03 +03:00
|
|
|
<div i-ri:home-5-line />
|
|
|
|
<span>Home</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/notifications" active-class="text-primary"
|
|
|
|
>
|
2022-11-18 00:32:03 +03:00
|
|
|
<div i-ri:notification-4-line />
|
|
|
|
<span>Notifications</span>
|
|
|
|
</NuxtLink>
|
|
|
|
</template>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/explore" active-class="text-primary"
|
|
|
|
>
|
2022-11-15 20:14:10 +03:00
|
|
|
<div i-ri:hashtag />
|
|
|
|
<span>Explore</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/public/local" active-class="text-primary"
|
|
|
|
>
|
2022-11-15 20:14:10 +03:00
|
|
|
<div i-ri:group-2-line />
|
|
|
|
<span>Local</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/public" active-class="text-primary"
|
|
|
|
>
|
2022-11-15 20:14:10 +03:00
|
|
|
<div i-ri:earth-line />
|
|
|
|
<span>Federated</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 02:08:36 +03:00
|
|
|
<template v-if="currentUser">
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/conversations" active-class="text-primary"
|
|
|
|
>
|
2022-11-18 00:32:03 +03:00
|
|
|
<div i-ri:at-line />
|
2022-11-18 12:37:22 +03:00
|
|
|
<span>Conversations</span>
|
2022-11-18 00:32:03 +03:00
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/favourites" active-class="text-primary"
|
|
|
|
>
|
2022-11-18 00:32:03 +03:00
|
|
|
<div i-ri:heart-3-line />
|
|
|
|
<span>Favorites</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
to="/bookmarks" active-class="text-primary"
|
|
|
|
>
|
2022-11-18 00:32:03 +03:00
|
|
|
<div i-ri:bookmark-line />
|
|
|
|
<span>Bookmarks</span>
|
|
|
|
</NuxtLink>
|
2022-11-23 17:50:03 +03:00
|
|
|
<NuxtLink
|
|
|
|
flex w-fit px5 py2 gap2 items-center transition-100 rounded-10 hover:bg-active
|
|
|
|
:to="`/@${currentUser.account?.username}`" active-class="text-primary"
|
|
|
|
>
|
2022-11-23 06:06:56 +03:00
|
|
|
<AccountAvatar :account="currentUser.account" h="1.2em" />
|
|
|
|
<span>Profile</span>
|
|
|
|
</NuxtLink>
|
2022-11-18 00:32:03 +03:00
|
|
|
</template>
|
2022-11-15 20:14:10 +03:00
|
|
|
</div>
|
|
|
|
</template>
|