Skip to content

Commit 162e5db

Browse files
Tyler DoerksenDavid Paquette
authored andcommitted
adding welcome pages and next button
1 parent c2710ad commit 162e5db

1 file changed

Lines changed: 43 additions & 11 deletions

File tree

2wr-app/src/components/welcome/welcome-landing.vue

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,35 @@
33
<v-row class="text-left">
44
<v-col cols="10">
55
<img src="/img/icons/safari-pinned-tab.svg" width="350" />
6-
7-
<h2>Welcome to 2 weeks ready</h2>
8-
<p>
9-
<strong>2 Weeks Ready</strong> is a mobile application that makes
10-
emergency preparedness a <strong>simple</strong>,
11-
<strong>easy</strong>, <strong>sharable</strong>, and
12-
<strong>time-saving</strong> experience to protect you and people you
13-
care about.
14-
</p>
6+
<div v-if="stage === 1">
7+
<h2>Welcome to 2 weeks ready</h2>
8+
<p>
9+
<strong>2 Weeks Ready</strong> is a mobile application that makes
10+
emergency preparedness a <strong>simple</strong>,
11+
<strong>easy</strong>, <strong>sharable</strong>, and
12+
<strong>time-saving</strong> experience to protect you and people
13+
you care about.
14+
</p>
15+
</div>
16+
<div v-if="stage === 2">
17+
<h2>You and earthquake risk</h2>
18+
<p>
19+
The Pacific Northwest is earthquake country with the
20+
<strong
21+
>second highest risk for earthquakes in the United States!</strong
22+
>
23+
There are also a wide assortment of hazards that can impact you
24+
including tsunamis, volcanic eruptions, and wildfires to name a few.
25+
</p>
26+
</div>
27+
<div v-if="stage === 3">
28+
<h2>Let's get started!</h2>
29+
<p>
30+
There's a lot to prepare for and learn about. <strong>2 Weeks Ready can
31+
help!</strong> Are you ready to start your preparedness Journey? <strong>Let's begin
32+
by creating an account and answering some questions.</strong>
33+
</p>
34+
</div>
1535
</v-col>
1636
</v-row>
1737
<v-fab-transition>
@@ -23,7 +43,7 @@
2343
right
2444
fab
2545
class="mb-12"
26-
to="/earthquake"
46+
@click="next()"
2747
>
2848
<v-icon>mdi-chevron-right</v-icon>
2949
</v-btn>
@@ -34,6 +54,18 @@
3454
<script>
3555
export default {
3656
name: "WelcomeLanding",
37-
data: () => ({}),
57+
data: () => ({
58+
stage: 1,
59+
}),
60+
methods: {
61+
next() {
62+
63+
this.stage++;
64+
65+
if(this.stage > 3){
66+
this.$auth.loginWithRedirect("/")
67+
}
68+
},
69+
},
3870
};
3971
</script>

0 commit comments

Comments
 (0)