Added new links to the navbar
This commit is contained in:
parent
1177de9b04
commit
5ca3c35381
|
@ -76,14 +76,37 @@
|
||||||
|
|
||||||
<div class="spacer" />
|
<div class="spacer" />
|
||||||
|
|
||||||
<router-link v-if="!loggedIn"
|
<template v-if="loggedIn">
|
||||||
class="navbar-item"
|
<router-link
|
||||||
to="/login"><i class="hidden" />Login</router-link>
|
|
||||||
|
|
||||||
<router-link v-else
|
|
||||||
to="/dashboard"
|
to="/dashboard"
|
||||||
class="navbar-item no-active"
|
class="navbar-item no-active"
|
||||||
exact><i class="hidden" />Dashboard</router-link>
|
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>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue