feat: add mobile navigation (#78)

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
wheat 2022-11-25 03:13:35 -05:00 committed by GitHub
parent e7fd9be93d
commit 4505080ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 2 deletions

View file

@ -14,8 +14,13 @@
</NuxtLink>
</slot>
</div>
<div flex>
<div flex items-center>
<slot name="actions" />
<template v-if="currentUser">
<NuxtLink md:hidden :to="`/@${currentUser.account?.username}`">
<AccountAvatar :account="currentUser.account" h="1.5em" />
</NuxtLink>
</template>
</div>
</div>
<slot name="header" />