Update navbar

This commit is contained in:
LittleSheep 2024-03-13 23:02:59 +08:00
parent 678d7f3afe
commit 5a966a42d7

View File

@ -14,10 +14,13 @@
</v-btn>
</template>
<v-list density="compact">
<v-list density="compact" v-if="!id.userinfo.isLoggedIn">
<v-list-item title="Sign in" prepend-icon="mdi-login-variant" :to="{ name: 'auth.sign-in' }" />
<v-list-item title="Create account" prepend-icon="mdi-account-plus" :to="{ name: 'auth.sign-up' }" />
</v-list>
<v-list density="compact" v-else>
<v-list-item title="Dashboard" prepend-icon="mdi-view-dashboard" :to="{ name: 'dashboard' }" />
</v-list>
</v-menu>
</div>
</v-app-bar>