Keybind and view fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2023-07-15 13:45:50 +02:00
parent 8a8f1f5a8a
commit 6250f17207
5 changed files with 49 additions and 32 deletions

View File

@@ -1,21 +1,23 @@
- var map_section = 'journey_data.main[journey_step_data.section]'
.bg-dark.text-white
.container.section
.aligner.text-center.text-white.text-huge(style='margin-bottom:5px')
.aligner--itemTop.fleft
a(href='#prev' v-on:click.prevent='prev_step')
i.fas.fa-angle-left
span.container
div
| {{ #{map_section}.title + ': Day ' + journey_step_data.day}}
.text-big.text-gray {{ #{map_section}.step_title[journey_step_data.day] }}
.aligner--itemEnd.fright
a(href='#next' v-on:click.prevent='next_step')
i.fas.fa-angle-right
.row
.col-12.col-sm-12
include map.pug
+map(map_section)
.row
.col-12.col-sm-12
.container
div(v-for='(e, idx) in journey_data.main' :key='idx')
.bg-dark.text-white(v-if="journey_step_data.section==idx")
.container.section
.aligner.text-center.text-white.text-huge(style='margin-bottom:5px')
.aligner--itemTop.fleft
a(href='#prev' v-on:click.prevent='prev_step')
i.fas.fa-angle-left
span.container
div
| {{ #{map_section}.title + ': Day ' + journey_step_data.day}}
.text-big.text-gray {{ #{map_section}.step_title[journey_step_data.day] }}
.aligner--itemEnd.fright
a(href='#next' v-on:click.prevent='next_step')
i.fas.fa-angle-right
.row
.col-12.col-sm-12
include map.pug
+map(map_section)
.row
.col-12.col-sm-12
.container