Simplify prev/next buttons, and add tooltip
This commit is contained in:
parent
e69b5691e7
commit
c831e4596d
@ -13,8 +13,9 @@
|
||||
team2Abbreviation: adjacentGames!.team1prevGame!.home_team.abbrev
|
||||
}
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
<<Prev
|
||||
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||
:title="`Previous ${awayTeamAbbreviation} Game`">
|
||||
<<
|
||||
</button>
|
||||
</RouterLink>
|
||||
<RouterLink v-if="awayTeamAbbreviation && awayTeamThumbnail"
|
||||
@ -30,8 +31,9 @@
|
||||
team2Abbreviation: adjacentGames!.team1nextGame!.home_team.abbrev
|
||||
}
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
Next>>
|
||||
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||
:title="`Next ${awayTeamAbbreviation} Game`">
|
||||
>>
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
@ -51,8 +53,9 @@
|
||||
team2Abbreviation: adjacentGames!.team2prevGame!.home_team.abbrev
|
||||
}
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
<<Prev
|
||||
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||
:title="`Previous ${homeTeamAbbreviation} Game`">
|
||||
<<
|
||||
</button>
|
||||
</RouterLink>
|
||||
<RouterLink v-if="homeTeamAbbreviation && homeTeamThumbnail"
|
||||
@ -68,8 +71,9 @@
|
||||
team2Abbreviation: adjacentGames!.team2nextGame!.home_team.abbrev
|
||||
}
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
Next>>
|
||||
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||
:title="`Next ${homeTeamAbbreviation} Game`">
|
||||
>>
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user