Use buttons
This commit is contained in:
parent
885d905c5c
commit
e69b5691e7
@ -12,8 +12,10 @@
|
||||
team1Abbreviation: adjacentGames!.team1prevGame!.away_team.abbrev,
|
||||
team2Abbreviation: adjacentGames!.team1prevGame!.home_team.abbrev
|
||||
}
|
||||
}">
|
||||
Previous {{ awayTeamAbbreviation }} Game
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
<<Prev
|
||||
</button>
|
||||
</RouterLink>
|
||||
<RouterLink v-if="awayTeamAbbreviation && awayTeamThumbnail"
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: awayTeamAbbreviation } }">
|
||||
@ -27,8 +29,10 @@
|
||||
team1Abbreviation: adjacentGames!.team1nextGame!.away_team.abbrev,
|
||||
team2Abbreviation: adjacentGames!.team1nextGame!.home_team.abbrev
|
||||
}
|
||||
}">
|
||||
Next {{ awayTeamAbbreviation }} Game
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
Next>>
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
@ -46,8 +50,10 @@
|
||||
team1Abbreviation: adjacentGames!.team2prevGame!.away_team.abbrev,
|
||||
team2Abbreviation: adjacentGames!.team2prevGame!.home_team.abbrev
|
||||
}
|
||||
}">
|
||||
Previous {{ homeTeamAbbreviation }} Game
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
<<Prev
|
||||
</button>
|
||||
</RouterLink>
|
||||
<RouterLink v-if="homeTeamAbbreviation && homeTeamThumbnail"
|
||||
:to="{ name: 'team', params: { seasonNumber: seasonNumber, teamAbbreviation: homeTeamAbbreviation } }">
|
||||
@ -61,8 +67,10 @@
|
||||
team1Abbreviation: adjacentGames!.team2nextGame!.away_team.abbrev,
|
||||
team2Abbreviation: adjacentGames!.team2nextGame!.home_team.abbrev
|
||||
}
|
||||
}">
|
||||
Next {{ homeTeamAbbreviation }} Game
|
||||
}" v-slot="{ href, navigate }">
|
||||
<button :href="href" @click="navigate">
|
||||
Next>>
|
||||
</button>
|
||||
</RouterLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user