mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-09-13 04:55:13 -05:00
Twitter: Add rule name to each schedule box
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
<template>
|
||||
<div v-if="schedule">
|
||||
<h3 class="title is-3 font-splatoon1 has-text-centered">{{ schedule.game_mode.name }}</h3>
|
||||
<h3 class="title is-3 font-splatoon1 has-text-centered">
|
||||
{{ schedule.game_mode.name }}
|
||||
</h3>
|
||||
|
||||
<h5 class="subtitle is-4 font-splatoon2 has-text-centered" style="margin-top: -1rem">
|
||||
<div class="image is-32x32" style="margin-bottom: -8px; display: inline-block">
|
||||
<img v-if="schedule.game_mode.key == 'regular'" src="~@/img/battle-regular.png" />
|
||||
<img v-if="schedule.game_mode.key == 'gachi'" src="~@/img/battle-ranked.png" />
|
||||
<img v-if="schedule.game_mode.key == 'league'" src="~@/img/battle-league.png" />
|
||||
</div>
|
||||
|
||||
{{ schedule.rule.name }}
|
||||
</h5>
|
||||
|
||||
<Stage :stage="schedule.stage_a"></Stage>
|
||||
<Stage :stage="schedule.stage_b"></Stage>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user