Skip to content

Commit

Permalink
Pro modal slight improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
JhumanJ committed Oct 8, 2023
1 parent d6f09ff commit 9228f92
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions resources/js/components/common/ProTag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,12 @@
<h2 class="text-nt-blue">
OpnForm PRO
</h2>
<h4 v-if="user &&user.is_subscribed && !user.has_enterprise_subscription" class="text-center mt-5">
<h4 v-if="user && user.is_subscribed" class="text-center mt-5">
We're happy to have you as a Pro customer. If you're having any issue with OpnForm, or if you have a
feature request, please <a href="mailto:[email protected]">contact us</a>.
<br><br>
If you need to collaborate, or to work with multiple workspaces, or just larger file uploads, you can
also upgrade our subscription to get an Enterprise subscription.
</h4>
<h4 v-if="user && user.is_subscribed && user.has_enterprise_subscription" class="text-center mt-5">
We're happy to have you as an Enterprise customer. If you're having any issue with OpnForm, or if you have a
feature request, please <a href="mailto:[email protected]">contact us</a>.
</h4>
<p v-if="user && !user.is_subscribed" class="mt-4">
<div v-if="!user || !user.is_subscribed" class="mt-4">
<p>
All the features with a<span
class="bg-nt-blue text-white px-2 text-xs uppercase inline rounded-full font-semibold mx-1"
>
Expand All @@ -30,13 +24,11 @@
the form editor, but you can't use them in your real forms</b>. You can subscribe now to gain unlimited access
to
all our pro features!
</p>
</p>
</div>

<p class="my-4 text-center">
Feel free to <a href="#" @click.prevent="openChat">contact us</a> if you have any feature request.
</p>
<div class="mb-4 text-center">
<v-button color="gray" shade="light" @click="showPremiumModal=false">
<div class="my-4 text-center">
<v-button color="white" @click="showPremiumModal=false">
Close
</v-button>
</div>
Expand All @@ -47,10 +39,11 @@
<script>
import Modal from '../Modal.vue'
import { mapGetters } from 'vuex'
import PricingTable from "../pages/pricing/PricingTable.vue";
export default {
name: 'ProTag',
components: { Modal },
components: {PricingTable, Modal },
props: {},
data () {
Expand Down

0 comments on commit 9228f92

Please sign in to comment.