| 1 |
<template> |
| 2 |
<div class="wpfnl-mm-choose-goal"> |
| 3 |
<!-- Heading Section --> |
| 4 |
<div class="wpfnl-mm-choose-goal-header"> |
| 5 |
<h2 class="wpfnl-mm-choose-goal-title"> |
| 6 |
What's Your Goal? |
| 7 |
</h2> |
| 8 |
<p class="wpfnl-mm-choose-goal-subtitle"> |
| 9 |
Get your sales funnel up and running in minutes. |
| 10 |
</p> |
| 11 |
</div> |
| 12 |
|
| 13 |
<!-- Container with Cards --> |
| 14 |
<div class="wpfnl-mm-choose-goal-container"> |
| 15 |
<div class="wpfnl-mm-choose-goal-cards"> |
| 16 |
|
| 17 |
<!-- Increase Order Value Card --> |
| 18 |
<div |
| 19 |
class="wpfnl-mm-goal-card" |
| 20 |
:class="{ 'active': selectedGoal === 'order-value' }" |
| 21 |
@click="selectGoal('order-value')" |
| 22 |
> |
| 23 |
<div class="wpfnl-mm-goal-card-checkmark" v-if="selectedGoal === 'order-value'"> |
| 24 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">> |
| 25 |
<path d="M13.3334 4L6.00002 11.3333L2.66669 8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 26 |
</svg> |
| 27 |
</div> |
| 28 |
<div class="wpfnl-mm-goal-card-icon"> |
| 29 |
<OrderValue /> |
| 30 |
</div> |
| 31 |
<div class="wpfnl-mm-goal-card-content"> |
| 32 |
<h3 class="wpfnl-mm-goal-card-title">Increase Order Value</h3> |
| 33 |
<p class="wpfnl-mm-goal-card-description"> |
| 34 |
Offer relevant upsells and order bumps to increase revenue from every purchase. |
| 35 |
</p> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
|
| 39 |
<!-- Improve Checkout Card --> |
| 40 |
<div |
| 41 |
class="wpfnl-mm-goal-card" |
| 42 |
:class="{ 'active': selectedGoal === 'improve-checkout' }" |
| 43 |
@click="selectGoal('improve-checkout')" |
| 44 |
> |
| 45 |
<div class="wpfnl-mm-goal-card-checkmark" v-if="selectedGoal === 'improve-checkout'"> |
| 46 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">> |
| 47 |
<path d="M13.3334 4L6.00002 11.3333L2.66669 8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 48 |
</svg> |
| 49 |
</div> |
| 50 |
<div class="wpfnl-mm-goal-card-icon"> |
| 51 |
<ImproveCheckout /> |
| 52 |
</div> |
| 53 |
<div class="wpfnl-mm-goal-card-content"> |
| 54 |
<h3 class="wpfnl-mm-goal-card-title">Store Checkout</h3> |
| 55 |
<p class="wpfnl-mm-goal-card-description"> |
| 56 |
Replace your default checkout with a custom, high-converting checkout page. |
| 57 |
</p> |
| 58 |
</div> |
| 59 |
</div> |
| 60 |
|
| 61 |
<!-- Sales Funnel Card --> |
| 62 |
<div |
| 63 |
class="wpfnl-mm-goal-card" |
| 64 |
:class="{ 'active': selectedGoal === 'sales' }" |
| 65 |
@click="selectGoal('sales')" |
| 66 |
> |
| 67 |
<div class="wpfnl-mm-goal-card-checkmark" v-if="selectedGoal === 'sales'"> |
| 68 |
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">> |
| 69 |
<path d="M13.3334 4L6.00002 11.3333L2.66669 8" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 70 |
</svg> |
| 71 |
</div> |
| 72 |
<div class="wpfnl-mm-goal-card-icon"> |
| 73 |
<Sales /> |
| 74 |
</div> |
| 75 |
<div class="wpfnl-mm-goal-card-content"> |
| 76 |
<h3 class="wpfnl-mm-goal-card-title">Launch Sales Funnel</h3> |
| 77 |
<p class="wpfnl-mm-goal-card-description"> |
| 78 |
Build a complete funnel from landing page to checkout — with offers, upsells, and follow-ups. |
| 79 |
</p> |
| 80 |
</div> |
| 81 |
</div> |
| 82 |
|
| 83 |
</div> |
| 84 |
|
| 85 |
</div> |
| 86 |
|
| 87 |
<!-- Buttons --> |
| 88 |
<div class="wpfnl-mm-choose-goal-buttons"> |
| 89 |
<button class="wpfnl-mm-btn wpfnl-mm-btn-secondary" @click="goBack"> |
| 90 |
Back |
| 91 |
</button> |
| 92 |
|
| 93 |
<div class="wpfnl-mm-btn-group"> |
| 94 |
<button |
| 95 |
class="wpfnl-mm-btn wpfnl-mm-btn-primary" |
| 96 |
@click="handleContinue" |
| 97 |
> |
| 98 |
Continue |
| 99 |
<svg width="17" height="12" viewBox="0 0 17 12" fill="none" xmlns="http://www.w3.org/2000/svg">> |
| 100 |
<path d="M1 6H16M16 6L11 1M16 6L11 11" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 101 |
</svg> |
| 102 |
</button> |
| 103 |
</div> |
| 104 |
</div> |
| 105 |
</div> |
| 106 |
</template> |
| 107 |
|
| 108 |
|
| 109 |
<script> |
| 110 |
import Sales from './Icons/Sales.vue'; |
| 111 |
import OrderValue from './Icons/OrderValue.vue'; |
| 112 |
import ImproveCheckout from './Icons/ImproveCheckout.vue'; |
| 113 |
|
| 114 |
export default { |
| 115 |
name: 'ChooseGoal', |
| 116 |
components: { |
| 117 |
Sales, |
| 118 |
OrderValue, |
| 119 |
ImproveCheckout, |
| 120 |
}, |
| 121 |
data() { |
| 122 |
return { |
| 123 |
selectedGoal: 'improve-checkout', // Default to improve checkout as shown in design |
| 124 |
agreeToShare: true, // Default to checked as shown in design |
| 125 |
} |
| 126 |
}, |
| 127 |
methods: { |
| 128 |
selectGoal(goal) { |
| 129 |
this.selectedGoal = goal; |
| 130 |
}, |
| 131 |
goBack() { |
| 132 |
this.$emit('prev-step'); |
| 133 |
}, |
| 134 |
handleContinue() { |
| 135 |
if (!this.selectedGoal) { |
| 136 |
return; |
| 137 |
} |
| 138 |
|
| 139 |
this.proceedToNextStep(); |
| 140 |
}, |
| 141 |
proceedToNextStep() { |
| 142 |
// Emit event or navigate to next step |
| 143 |
this.$emit('next-step', { |
| 144 |
goal: this.selectedGoal, |
| 145 |
agreeToShare: this.agreeToShare |
| 146 |
}); |
| 147 |
}, |
| 148 |
showHelp() { |
| 149 |
// Handle help action |
| 150 |
window.open('https://getwpfunnels.com/docs/', '_blank'); |
| 151 |
} |
| 152 |
} |
| 153 |
} |
| 154 |
</script> |
| 155 |
|