<template>
  <div class="nav-panel">
    <div class="panel panel-default base01-background">
      <ul>
        <li v-if='currentUser'>
          <router-link to='/main/friends'>
            Timeline
          </router-link>
        </li>
        <li v-if='currentUser'>
          <router-link :to="{ name: 'mentions', params: { username: currentUser.screen_name } }">
            Mentions
          </router-link>
        </li>
        <li>
          <router-link to='/main/public'>
            Public Timeline
          </router-link>
        </li>
        <li>
          <router-link to='/main/all'>
            The Whole Known Network
          </router-link>
        </li>
      </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 {
     border-bottom: 1px solid;
     padding: 0.75em 0.85em 0.6em;
 }

 .nav-panel li:last-child {
     border: none;
 }

 .nav-panel a {
     display: block;
     width: 100%;

     &.router-link-active {
         font-weight: bold
     }
 }

</style>
