renamed Button.vue

This commit is contained in:
j-weissen 2023-01-20 14:43:05 +01:00
parent 030189aa52
commit 6fe71383b3
3 changed files with 15 additions and 7 deletions

View file

@ -3,10 +3,10 @@
<div class="row">
<h3 class="col-10"><strong>{{ this.title() }}</strong></h3>
<div class="col-1">
<Button @click="prevPage" text="<"></Button>
<RRButton @click="prevPage" text="<"></RRButton>
</div>
<div class="col-1">
<Button @click="nextPage" text=">"></Button>
<RRButton @click="nextPage" text=">"></RRButton>
</div>
</div>
<div class="row" v-for="entry in this.page" :key="entry.rank" >
@ -18,13 +18,13 @@
<script>
import LeaderboardEntry from "@/components/LeaderboardEntry.vue";
import Button from "@/components/Button.vue";
import RRButton from "@/components/RRButton.vue";
export default {
name: "Leaderboard",
components: {
LeaderboardEntry,
Button,
RRButton,
},
data() {
return {