Footer.vue 717 Bytes
Newer Older
1
<template>
2
  <footer class="tw-p-2">
3
4
    <b-container>
      <b-row>
5
        <b-col>
6
          AURA/<b>dashboard v{{ version }}</b> |
7
8
          <router-link to="/credits">
            Credits
9
          </router-link>
10
        </b-col>
11
        <b-col align="right">
12
          {{ $t('footer.tagline') }}
13
14
15
        </b-col>
      </b-row>
    </b-container>
16
17
18
19
20
  </footer>
</template>

<script>
export default {
21
22
23
24
25
26
  computed: {
    version() {
      console.log(process.env)
      return process.env.VUE_APP_VERSION
    }
  }
27
28
29
}
</script>

30
<style scoped>
31
footer {
32
  background-color: #343a40;
33
  border-top: 1px solid #2e3436;
34
35
36
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
  margin-top: auto;
37
}
38
39
40
41

a {
  color: #c09;
}
42
</style>