Skip to content

Commit 43c9154

Browse files
Merge pull request #269 from Worxstr/landing
Add demo button to about page and landing page
2 parents e54898c + 429a621 commit 43c9154

File tree

3 files changed

+45
-11
lines changed

3 files changed

+45
-11
lines changed

src/views/landing/About.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
p The Worxstr management platform was built to address the specific challenges of the temporary labor management industry by people who have operated within it. The platform provides structure and consistency to traditionally disparate and inefficient systems. Every step and process laid out in the platform has been designed with efficiency in mind. The goal of the platform is to make managers more productive and boost labor retention.
1010
p Time is money. Using the Worxstr platform, the average manager will be able to cut down the time consumed by each task by at least one third, based on conservative time calculations. The increase in manager productivity will enable greater accuracy and increased bandwidth. A 33% increase in productivity will reduce expenses, increase efficiency, speed up processes, boost retention, and streamline reporting.
1111

12+
v-btn(
13+
v-if='!me'
14+
:to="{ name: 'contact', params: {option: 'demo'}}"
15+
class="mr-3"
16+
outlined
17+
color='primary'
18+
large
19+
)
20+
span Schedule in-person demo
1221

1322
.demo-video(:class='{small: $vuetify.breakpoint.smAndDown}')
1423
iframe.mt-5(

src/views/landing/Contact.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ type Option = {
6565
dialog: boolean
6666
}
6767
68+
function openCalendly() {
69+
calendly.showPopupWidget('https://calendly.com/d/cps-z6n-m4m/worxstr-consultation?hide_event_type_details=0&hide_gdpr_banner=1&primary_color=2e6aef')
70+
}
71+
6872
@Component({
6973
metaInfo: {
7074
title: 'Contact us'
@@ -78,7 +82,7 @@ export default class Contact extends Vue {
7882
7983
mounted() {
8084
if (this.$route.params.option) {
81-
this.chosenOption = this.$route.params.option
85+
this.selectOption(this.helpOptions.find(option => option.name == this.$route.params.option))
8286
}
8387
}
8488
@@ -99,17 +103,14 @@ export default class Contact extends Vue {
99103
100104
helpOptions: Option[] = [
101105
{
102-
name: 'Demo',
106+
name: 'demo',
103107
title: 'Schedule a demo',
104108
text: 'Want to learn more about our platform? Schedule a demo with one of our managers to learn more about Worxstr and how it can help you manage your team.',
105109
hideIfSignedIn: true,
106110
button: {
107111
text: 'Find a time',
108112
color: 'primary',
109-
action: () => {
110-
calendly.showPopupWidget('https://calendly.com/d/cps-z6n-m4m/worxstr-consultation?hide_event_type_details=0&hide_gdpr_banner=1&primary_color=2e6aef')
111-
return false
112-
}
113+
action: openCalendly
113114
},
114115
dialog: false,
115116
},

src/views/landing/Home.vue

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,44 @@
4646
span(:class="`${$vuetify.theme.dark ? 'white' : 'black'}--text`") Sign in
4747

4848
.d-flex.mt-6.align-center
49-
p.mb-0.mr-2.font-weight-medium Get the app:
5049
v-btn(
51-
icon
50+
color="blue"
51+
class="mr-3"
5252
href='https://apps.apple.com/us/app/worxstr/id1571853545'
5353
target='_blank'
5454
)
55-
v-icon mdi-apple
55+
v-icon.white--text mdi-apple
5656

5757
v-btn(
58-
icon
58+
color="green"
59+
class="mr-3"
5960
href='https://play.google.com/store/apps/details?id=com.worxstr.worxstr'
6061
target='_blank'
6162
)
62-
v-icon mdi-google-play
63+
v-icon.white--text mdi-google-play
64+
65+
v-btn(
66+
:to="{ name: 'about'}"
67+
class="mr-3"
68+
outlined
69+
color='primary'
70+
)
71+
span Learn more
72+
73+
//- p.mb-0.mr-2.font-weight-medium Get the app:
74+
//- v-btn(
75+
//- icon
76+
//- href='https://apps.apple.com/us/app/worxstr/id1571853545'
77+
//- target='_blank'
78+
//- )
79+
//- v-icon mdi-apple
80+
81+
//- v-btn(
82+
//- icon
83+
//- href='https://play.google.com/store/apps/details?id=com.worxstr.worxstr'
84+
//- target='_blank'
85+
//- )
86+
//- v-icon mdi-google-play
6387
6488
v-spacer(style='height: 70px')
6589

0 commit comments

Comments
 (0)