summaryrefslogtreecommitdiff
path: root/src/App.vue
blob: ec749877de11187dc80e7c8ba046e44cc2e40db4 (plain)
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
<template>
  <div class="container">
    <section class="hero is-medium is-bold header">
      <div class="hero-body">
        <div class="container">
          <h1 class="title has-text-white">
            Broken Talents
          </h1>
          <h2 class="subtitle has-text-white">
            Tilting Brawlers since Update 2.5
          </h2>
        </div>
      </div>
    </section>

    <router-view></router-view>

    <footer class="footer">
      <div class="container">
        <div class="content has-text-centered">
          <p>
            Last update: 2018-05-22, with {{ totalMatches }} matches total.
            Join the <a href="https://discord.gg/txTchJY">Discord Server</a> if you have questions.
          </p>
          <p>
            <strong>BrokenTalentsFun</strong> by shutterfly (<a href="https://schneefux.xyz">@schneefux</a>).
            <a href="https://github.com/BrokenTalents/brokentalents.github.io">Source Code</a>.
            Built with the <a href="http://developer.vainglorygame.com">Vainglory API</a>.
            Images by <a href="https://vainglorygame.com">Super Evil Mega Corp</a>.
          </p>
          <p>
          </p>
        </div>
      </div>
    </footer>
  </div>
</template>


<style scoped>
.header {
  text-align: center;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ), url('/dist/assets/TalentGrab.jpg') center center;
  background-size: cover;
}
</style>

<script>
export default {
  name: 'App',
  props: [ 'reportService' ],
  data: function() {
    return {
      totalMatches: Math.floor(this.reportService.getTotalMatches()/100)*100,
    };
  },
};
</script>