2023-12-09 15:47:03 +01:00
|
|
|
<template>
|
2024-04-15 19:39:03 +02:00
|
|
|
<div
|
|
|
|
|
v-if="user.active_license"
|
|
|
|
|
class="border p-5 shadow-md rounded-md"
|
|
|
|
|
>
|
2023-12-09 15:47:03 +01:00
|
|
|
<div class="w-auto flex flex-col items-center">
|
2024-04-15 19:39:03 +02:00
|
|
|
<img
|
|
|
|
|
src="/img/appsumo/as-taco-white-bg.png"
|
|
|
|
|
class="max-w-[60px]"
|
|
|
|
|
alt="AppSumo"
|
|
|
|
|
>
|
2023-12-09 15:47:03 +01:00
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
<img
|
|
|
|
|
src="/img/appsumo/as-Select-dark.png"
|
|
|
|
|
class="max-w-[150px]"
|
|
|
|
|
alt="AppSumo"
|
|
|
|
|
>
|
2023-12-09 15:47:03 +01:00
|
|
|
</div>
|
|
|
|
|
<p class="mt-6">
|
2024-04-15 19:39:03 +02:00
|
|
|
Your AppSumo
|
|
|
|
|
<span class="font-semibold">lifetime deal tier {{ licenseTier }}</span>
|
|
|
|
|
license is active. Here's a reminder of your plan details:
|
2023-12-09 15:47:03 +01:00
|
|
|
</p>
|
|
|
|
|
<ul class="list-disc pl-5 mt-4">
|
2024-04-15 19:39:03 +02:00
|
|
|
<li>
|
|
|
|
|
Number of Forms:
|
|
|
|
|
<span class="font-semibold">{{ tierFeatures.form_quantity }}</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
Custom domains:
|
|
|
|
|
<span class="font-semibold">{{ tierFeatures.domain_names }}</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
File Size Uploads:
|
|
|
|
|
<span class="font-semibold">{{ tierFeatures.file_upload_size }}</span>
|
|
|
|
|
</li>
|
2023-12-09 15:47:03 +01:00
|
|
|
</ul>
|
|
|
|
|
<div class="w-max">
|
2024-04-15 19:39:03 +02:00
|
|
|
<v-button
|
|
|
|
|
color="outline-gray"
|
|
|
|
|
shade="lighter"
|
|
|
|
|
class="mt-4 block"
|
|
|
|
|
href="https://appsumo.com/account/products/"
|
|
|
|
|
target="_blank"
|
|
|
|
|
>
|
2023-12-09 15:47:03 +01:00
|
|
|
Mangage in AppSumo
|
|
|
|
|
</v-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-04-15 19:39:03 +02:00
|
|
|
import { computed } from "vue"
|
|
|
|
|
import { useAuthStore } from "../../../stores/auth"
|
|
|
|
|
import VButton from "~/components/global/VButton.vue"
|
2023-12-09 15:47:03 +01:00
|
|
|
|
|
|
|
|
export default {
|
2024-04-15 19:39:03 +02:00
|
|
|
name: "AppSumoBilling",
|
2023-12-09 15:47:03 +01:00
|
|
|
components: { VButton },
|
|
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
setup() {
|
2023-12-09 15:47:03 +01:00
|
|
|
const authStore = useAuthStore()
|
|
|
|
|
return {
|
2024-04-15 19:39:03 +02:00
|
|
|
user: computed(() => authStore.user),
|
2023-12-09 15:47:03 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
data() {
|
|
|
|
|
return {}
|
2023-12-09 15:47:03 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
computed: {
|
2024-04-15 19:39:03 +02:00
|
|
|
licenseTier() {
|
2023-12-09 15:47:03 +01:00
|
|
|
return this.user?.active_license?.meta?.tier
|
|
|
|
|
},
|
2024-04-15 19:39:03 +02:00
|
|
|
tierFeatures() {
|
2023-12-09 15:47:03 +01:00
|
|
|
if (!this.licenseTier) return {}
|
|
|
|
|
return {
|
|
|
|
|
1: {
|
2024-04-15 19:39:03 +02:00
|
|
|
form_quantity: "Unlimited",
|
|
|
|
|
file_upload_size: "25mb",
|
|
|
|
|
domain_names: "5",
|
2023-12-09 15:47:03 +01:00
|
|
|
},
|
|
|
|
|
2: {
|
2024-04-15 19:39:03 +02:00
|
|
|
form_quantity: "Unlimited",
|
|
|
|
|
file_upload_size: "50mb",
|
|
|
|
|
domain_names: "25",
|
2023-12-09 15:47:03 +01:00
|
|
|
},
|
|
|
|
|
3: {
|
2024-04-15 19:39:03 +02:00
|
|
|
form_quantity: "Unlimited",
|
|
|
|
|
file_upload_size: "75mb",
|
|
|
|
|
domain_names: "Unlimited",
|
|
|
|
|
},
|
2023-12-09 15:47:03 +01:00
|
|
|
}[this.licenseTier]
|
2024-04-15 19:39:03 +02:00
|
|
|
},
|
2023-12-09 15:47:03 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
watch: {},
|
|
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
mounted() {},
|
2023-12-09 15:47:03 +01:00
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
created() {},
|
2023-12-09 15:47:03 +01:00
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
unmounted() {},
|
2023-12-09 15:47:03 +01:00
|
|
|
|
2024-04-15 19:39:03 +02:00
|
|
|
methods: {},
|
2023-12-09 15:47:03 +01:00
|
|
|
}
|
|
|
|
|
</script>
|