diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 12 | ||||
| -rw-r--r-- | src/TalentBox.vue (renamed from src/ReportTile.vue) | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/App.vue b/src/App.vue index fec4cc0..8affd42 100644 --- a/src/App.vue +++ b/src/App.vue @@ -18,19 +18,19 @@ <b-tab-item label="Blitz"> <div class="tile is-ancestor"> <div class="tile is-parent"> - <report-tile class="tile is-child is-warning notification" + <talent-box class="tile is-child is-warning notification" title="Overpowered!" :entry="topWins.blitz_pvp_ranked"> {{ Math.round(100 * topWins.blitz_pvp_ranked.Winner) }}% Win Rate - </report-tile> + </talent-box> </div> <div class="tile is-parent"> - <report-tile class="tile is-child is-success notification" + <talent-box class="tile is-child is-success notification" title="Trending" :entry="topPicks.blitz_pvp_ranked"> {{ (100 * 6 * topPicks.blitz_pvp_ranked.Count / totalPicks.blitz_pvp_ranked).toFixed(2) }}% Pick Rate - </report-tile> + </talent-box> </div> </div> @@ -50,7 +50,7 @@ <script> import report from '../data/98aae7f0/report.json'; import ReportTable from './ReportTable.vue'; -import ReportTile from './ReportTile.vue'; +import TalentBox from './TalentBox.vue'; const MODES = [ 'casual_aral', 'blitz_pvp_ranked' @@ -83,7 +83,7 @@ export default { }, components: { ReportTable, - ReportTile, + TalentBox, }, }; </script> diff --git a/src/ReportTile.vue b/src/TalentBox.vue index 89f46ae..eb6b4a8 100644 --- a/src/ReportTile.vue +++ b/src/TalentBox.vue @@ -23,7 +23,7 @@ import Vue from 'vue'; import * as maps from './maps/maps'; -export default Vue.component('report-tile', { +export default Vue.component('talent-box', { props: [ 'title', 'content', 'entry' ], data: function() { return { |
