|
|
@@ -4,14 +4,14 @@ main.view--onboarding
|
|
4
|
4
|
style='display: flex; flex-direction: column; align-items: center'
|
|
5
|
5
|
v-if='survey'
|
|
6
|
6
|
)
|
|
7
|
|
- p(v-if='currentStep != 0 && answered.name') You have completed: {{ currentStep - 1 }} / 7 survey steps
|
|
8
|
|
- p(v-for='(value, key) in answered')
|
|
9
|
|
- span(v-if='key == "name"') Welcome {{ value }}!
|
|
10
|
|
- span(v-if='key == "email"') All messages we will send to: {{ value }}
|
|
11
|
|
- span(v-if='key == "zipcode"') Your zipcode is: {{ value }}
|
|
12
|
|
- span(v-if='key == "blurb"') This is your Origin Story:
|
|
|
7
|
+ p(v-if='currentStep != 0') You have completed: {{ currentStep - 1 }} / 7 survey steps
|
|
|
8
|
+ .questions(v-for='(value, key) in answered')
|
|
|
9
|
+ span(v-if='key == "name" && value') Welcome {{ value }}!
|
|
|
10
|
+ span(v-if='key == "email" && value') All messages we will send to: {{ value }}
|
|
|
11
|
+ span(v-if='key == "zipcode" && value') Your zipcode is: {{ value }}
|
|
|
12
|
+ span(v-if='key == "blurb" && value') This is your Origin Story:
|
|
13
|
13
|
p {{ value }}
|
|
14
|
|
- p(v-if='key == "image"') You've uploaded the following image:
|
|
|
14
|
+ p(v-if='key == "image" && value') You've uploaded the following image:
|
|
15
|
15
|
p {{ value }}
|
|
16
|
16
|
.step(v-for='(step, i) in survey.steps')
|
|
17
|
17
|
component(
|
|
|
@@ -23,8 +23,8 @@ main.view--onboarding
|
|
23
|
23
|
v-if='step && currentStep == i'
|
|
24
|
24
|
)
|
|
25
|
25
|
article(
|
|
26
|
|
- style='display: flex; flex-direction: column; align-items: center'
|
|
27
|
|
- v-else
|
|
|
26
|
+ style='display: flex; flex-direction: column; align-items: center'
|
|
|
27
|
+ v-else
|
|
28
|
28
|
)
|
|
29
|
29
|
h1(style='text-align: center') Thank you for completing Siimee's Onboarding Survey!
|
|
30
|
30
|
</template>
|