summaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-21 17:47:52 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:36 +0100
commit1b8f06b5942ba6ff0375d39cbca466a6f6322f6d (patch)
treece54edb5314441b701661102646ab4d8570895dd /src/App.vue
parentdd0af4570e56744ae1ca9264e63041fd5bbe10ba (diff)
downloadbrokentalents-1b8f06b5942ba6ff0375d39cbca466a6f6322f6d.tar.gz
brokentalents-1b8f06b5942ba6ff0375d39cbca466a6f6322f6d.zip
Add footer
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 86770db..63030e2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,6 +14,25 @@
</section>
<router-view></router-view>
+
+ <footer class="footer">
+ <div class="container">
+ <div class="content has-text-centered">
+ <p>
+ Last update: 2018-05-21, 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>
@@ -29,3 +48,15 @@
background-size: cover;
}
</style>
+
+<script>
+export default {
+ name: 'App',
+ props: [ 'reportService' ],
+ data: function() {
+ return {
+ totalMatches: Math.floor(this.reportService.getTotalMatches()/100)*100,
+ };
+ },
+};
+</script>