2016-11-06 11:10:20 -08:00
|
|
|
<template>
|
|
|
|
<div class="nav-panel">
|
2017-03-09 14:45:16 -08:00
|
|
|
<div class="panel panel-default base01-background">
|
2017-03-08 15:09:23 -08:00
|
|
|
<ul class="base03-border">
|
2016-11-26 12:09:41 -08:00
|
|
|
<li v-if='currentUser'>
|
2017-03-09 14:45:16 -08:00
|
|
|
<router-link class="base00-background" to='/main/friends'>
|
2016-11-06 11:10:20 -08:00
|
|
|
Timeline
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-26 12:09:41 -08:00
|
|
|
<li v-if='currentUser'>
|
2017-03-09 14:45:16 -08:00
|
|
|
<router-link class="base00-background" :to="{ name: 'mentions', params: { username: currentUser.screen_name } }">
|
2016-11-26 12:09:41 -08:00
|
|
|
Mentions
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 11:10:20 -08:00
|
|
|
<li>
|
2017-03-09 14:45:16 -08:00
|
|
|
<router-link class="base00-background" to='/main/public'>
|
2016-11-06 11:10:20 -08:00
|
|
|
Public Timeline
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 12:46:01 -08:00
|
|
|
<li>
|
2017-03-09 14:45:16 -08:00
|
|
|
<router-link class="base00-background" to='/main/all'>
|
2016-11-06 12:46:01 -08:00
|
|
|
The Whole Known Network
|
|
|
|
</router-link>
|
|
|
|
</li>
|
2016-11-06 11:10:20 -08: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 06:44:56 -08:00
|
|
|
border-bottom: 1px solid;
|
2017-03-08 15:09:23 -08:00
|
|
|
border-color: inherit;
|
2017-03-08 21:36:03 -08:00
|
|
|
padding: 0;
|
|
|
|
&:first-child a {
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
}
|
|
|
|
&:last-child a {
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
}
|
2016-11-06 11:10:20 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-panel li:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-panel a {
|
|
|
|
display: block;
|
2017-03-08 21:36:03 -08:00
|
|
|
padding: 0.8em 0.85em;
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2016-11-06 11:10:20 -08:00
|
|
|
&.router-link-active {
|
2017-03-08 21:36:03 -08:00
|
|
|
font-weight: bolder;
|
|
|
|
background-color: transparent;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-11-06 11:10:20 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|