<template>
  <section>
    <nav class="container is-flex is-justify-content-flex-end">
      <b-button type="is-danger" @click="cerrarSesion()">Cerrar Sesión</b-button>
    </nav>
  </section>
</template>

<script>
export default {
  methods: {
    cerrarSesion () {
      // localStorage.removeItem('user')
      // localStorage.removeItem('token')
      // localStorage.removeItem('')

      this.$router.push('/')
    }
  }
}
</script>

<style scoped>
section {
  background-color: #bb8800;
}
</style>
