Added new links to the navbar

This commit is contained in:
Pitu 2019-10-12 20:16:38 +09:00
parent 1177de9b04
commit 5ca3c35381
1 changed files with 31 additions and 8 deletions

View File

@ -76,14 +76,37 @@
<div class="spacer" />
<router-link v-if="!loggedIn"
class="navbar-item"
to="/login"><i class="hidden" />Login</router-link>
<router-link v-else
to="/dashboard"
class="navbar-item no-active"
exact><i class="hidden" />Dashboard</router-link>
<template v-if="loggedIn">
<router-link
to="/dashboard"
class="navbar-item no-active"
exact>
<i class="hidden" />
Uploads
</router-link>
<router-link
to="/dashboard/albums"
class="navbar-item no-active"
exact>
<i class="hidden" />
Albums
</router-link>
<router-link
to="/dashboard/account"
class="navbar-item no-active"
exact>
<i class="hidden" />
Account
</router-link>
</template>
<template v-else>
<router-link
class="navbar-item"
to="/login">
<i class="hidden" />
Login
</router-link>
</template>
</div>
</nav>
</template>