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
|
team2Abbreviation: adjacentGames!.team1prevGame!.home_team.abbrev
|
||||||
}
|
}
|
||||||
}" v-slot="{ href, navigate }">
|
}" v-slot="{ href, navigate }">
|
||||||
<button :href="href" @click="navigate">
|
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||||
<<Prev
|
:title="`Previous ${awayTeamAbbreviation} Game`">
|
||||||
|
<<
|
||||||
</button>
|
</button>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<RouterLink v-if="awayTeamAbbreviation && awayTeamThumbnail"
|
<RouterLink v-if="awayTeamAbbreviation && awayTeamThumbnail"
|
||||||
@ -30,8 +31,9 @@
|
|||||||
team2Abbreviation: adjacentGames!.team1nextGame!.home_team.abbrev
|
team2Abbreviation: adjacentGames!.team1nextGame!.home_team.abbrev
|
||||||
}
|
}
|
||||||
}" v-slot="{ href, navigate }">
|
}" v-slot="{ href, navigate }">
|
||||||
<button :href="href" @click="navigate">
|
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||||
Next>>
|
:title="`Next ${awayTeamAbbreviation} Game`">
|
||||||
|
>>
|
||||||
</button>
|
</button>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
@ -51,8 +53,9 @@
|
|||||||
team2Abbreviation: adjacentGames!.team2prevGame!.home_team.abbrev
|
team2Abbreviation: adjacentGames!.team2prevGame!.home_team.abbrev
|
||||||
}
|
}
|
||||||
}" v-slot="{ href, navigate }">
|
}" v-slot="{ href, navigate }">
|
||||||
<button :href="href" @click="navigate">
|
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||||
<<Prev
|
:title="`Previous ${homeTeamAbbreviation} Game`">
|
||||||
|
<<
|
||||||
</button>
|
</button>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<RouterLink v-if="homeTeamAbbreviation && homeTeamThumbnail"
|
<RouterLink v-if="homeTeamAbbreviation && homeTeamThumbnail"
|
||||||
@ -68,8 +71,9 @@
|
|||||||
team2Abbreviation: adjacentGames!.team2nextGame!.home_team.abbrev
|
team2Abbreviation: adjacentGames!.team2nextGame!.home_team.abbrev
|
||||||
}
|
}
|
||||||
}" v-slot="{ href, navigate }">
|
}" v-slot="{ href, navigate }">
|
||||||
<button :href="href" @click="navigate">
|
<button :href="href" @click="navigate" class="btn btn-sm btn-primary mx-1"
|
||||||
Next>>
|
:title="`Next ${homeTeamAbbreviation} Game`">
|
||||||
|
>>
|
||||||
</button>
|
</button>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user