2016-11-06 19:10:20 +00:00
|
|
|
<template>
|
|
|
|
<div class="nav-panel">
|
2017-01-15 14:44:56 +00:00
|
|
|
<div class="panel panel-default base01-background">
|
2016-11-06 19:10:20 +00:00
|
|
|
<ul>
|
2016-11-26 20:09:41 +00:00
|
|
|
<li v-if='currentUser'>
|
2016-11-06 19:10:20 +00:00
|
|
|
<router-link to='/main/friends'>
|
|
|
|
Timeline
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-26 20:09:41 +00:00
|
|
|
<li v-if='currentUser'>
|
|
|
|
<router-link :to="{ name: 'mentions', params: { username: currentUser.screen_name } }">
|
|
|
|
Mentions
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 19:10:20 +00:00
|
|
|
<li>
|
|
|
|
<router-link to='/main/public'>
|
|
|
|
Public Timeline
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 20:46:01 +00:00
|
|
|
<li>
|
|
|
|
<router-link to='/main/all'>
|
|
|
|
The Whole Known Network
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 19:10:20 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./nav_panel.js" ></script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
|
|
.nav-panel ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-panel li {
|
2017-01-15 14:44:56 +00:00
|
|
|
border-bottom: 1px solid;
|
2016-11-06 19:10:20 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-panel li:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-panel a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&.router-link-active {
|
|
|
|
font-weight: bold
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|