aboutsummaryrefslogtreecommitdiff
path: root/kamon-status/src/App.vue
blob: 889380810939efa0aee555346c614b08cad181a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<template>
  <div id="app">
    <div class="header w-100 mb-5 sticky-top">
      <div class="container h-100">
        <div class="row h-100 justify-content-between">
          <div class="col-auto h-100">
            <img class="py-3 h-100 img-fluid" src="./assets/logo.svg" alt="">
          </div>

          <div class="col-auto navigation">
            <router-link to="/">
              <div class="navigation-link">
                Overview
              </div>
            </router-link>
            <router-link to="/">
              <div class="navigation-link">
                Metrics
              </div>
            </router-link>
          </div>
        </div>
      </div>
    </div>

    <router-view/>
  </div>

</template>

<style lang="scss">

$header-height: 70px;

.header {
  height: $header-height;
  background-color: white;
  box-shadow: 0 5px 9px 1px rgba(0,0,0,0.1);

  .navigation {
    line-height: $header-height;

    .navigation-link, a {
      display: inline-block;
      padding: 0 0.5rem;
      text-transform: uppercase;
      text-decoration: none;
      color: #b3b3b3;

      &:hover {
        color: #888888;
      }
    }
  }
}

// #nav {
//   padding: 30px;
//   a {
//     font-weight: bold;
//     color: #2c3e50;
//     &.router-link-exact-active {
//       color: #42b983;
//     }
//   }
// }
</style>