OTM/template/module/view/view_day.pug
soraefir 7efb63764c
All checks were successful
continuous-integration/drone/push Build is passing
wip
2025-03-02 00:27:49 +01:00

20 lines
830 B
Plaintext

div(v-for="(e, idx) in journey.data.main", :key="idx")
.bg-dark.text-white(v-if="journey.sel_leg == idx")
.container.section
.row
.col-3.fleft.text-center.text-white.text-huge
a(v-on:click.prevent="journey.day_prev()")
i.fas.fa-angle-left
.col-6.container.text-center.align
span.small {{ journey.data.main[idx].title }} {{ journey.sel_day }}
.text-big.text-gray {{ journey.data.main[idx].day_title[journey.sel_day] }}
.col-3.fright.text-center.text-white.text-huge
a(v-on:click.prevent="journey.day_next()")
i.fas.fa-angle-right
.row
.col-12.col-sm-12(style="aspect-ratio:1.25;")
include ../journey/map.pug
.row
.col-10
span.small.text-gray {{journey.data.main[idx].note || '...'}}