Timers and other features for Heroes of the Storm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

60 lines
1.7 KiB

  1. <!--
  2. Copyright © 2021 Adrien Agez <adrien.agez@pm.me>
  3. This file is part of Nexus Timers.
  4. Nexus Timers is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. Nexus Timers is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with Nexus Timers. If not, see <https://www.gnu.org/licenses/>.
  14. -->
  15. <template>
  16. <div class="map-selector">
  17. <h1 class="map-selector__title">Battleground Selector</h1>
  18. <ul class="map-selector__map-list">
  19. <template v-for="(battleground, battlegroundId) in maps">
  20. <router-link :to="`/battleground/${battlegroundId}`">
  21. <li class="map-selector__map-list-item"><a>{{ battleground.name }}</a></li>
  22. </router-link>
  23. </template>
  24. </ul>
  25. </div>
  26. </template>
  27. <script type="text/javascript">
  28. import MAPS from '../gameInfos/battlegrounds'
  29. export default {
  30. name: 'BattlegroundSelector',
  31. data () {
  32. return {
  33. maps: MAPS
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="sass" scoped>
  39. .map-selector
  40. &__map-list
  41. list-style-type: none
  42. padding-left: 0
  43. &-item
  44. font-size: 1.4rem
  45. padding: 10px 0 10px 10px
  46. border-top: solid #5659aa 1px
  47. border-left: none
  48. a
  49. text-decoration: none
  50. color: inherit
  51. </style>