update pricing
This commit is contained in:
parent
b296cd7108
commit
ccbc2e107c
@ -41,13 +41,10 @@
|
|||||||
async function purchasePlan(subscriptionType: string = "") {
|
async function purchasePlan(subscriptionType: string = "") {
|
||||||
if (data?.user) {
|
if (data?.user) {
|
||||||
let subId = "";
|
let subId = "";
|
||||||
let value = 0;
|
|
||||||
if (mode) {
|
if (mode) {
|
||||||
subId = import.meta.env.VITE_LEMON_SQUEEZY_ANNUAL_ID;
|
subId = import.meta.env.VITE_LEMON_SQUEEZY_ANNUAL_ID;
|
||||||
value = 59.88;
|
|
||||||
} else {
|
} else {
|
||||||
subId = import.meta.env.VITE_LEMON_SQUEEZY_MONTHLY_ID;
|
subId = import.meta.env.VITE_LEMON_SQUEEZY_MONTHLY_ID;
|
||||||
value = 9.99;
|
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@ -190,7 +187,7 @@
|
|||||||
|
|
||||||
<div class="ml-3 -mb-4 flex flex-col items-start">
|
<div class="ml-3 -mb-4 flex flex-col items-start">
|
||||||
<span class="text-sm font-semibold text-white"> Pay Yearly </span>
|
<span class="text-sm font-semibold text-white"> Pay Yearly </span>
|
||||||
<span class="text-[#fff] text-sm font-semibold"> Save 50% </span>
|
<span class="text-[#fff] text-sm font-semibold"> Save 33% </span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -419,17 +416,10 @@
|
|||||||
|
|
||||||
<div class="flex flex-col mb-6 items-center">
|
<div class="flex flex-col mb-6 items-center">
|
||||||
<div class="flex flex-row items-center">
|
<div class="flex flex-row items-center">
|
||||||
<span class="mr-2 text-4xl font-bold"
|
<span class="mr-2 text-4xl font-bold">{mode ? "$10" : "$15"}</span>
|
||||||
>{mode ? "$4.99" : "$9.99"}</span
|
|
||||||
>
|
|
||||||
<span class="text-white text-xl">/month</span>
|
<span class="text-white text-xl">/month</span>
|
||||||
</div>
|
</div>
|
||||||
{#if mode}
|
|
||||||
<div class="text-white">(Billed Annually)</div>
|
|
||||||
<div class="flex items-center mt-2 text-[1rem] text-center">
|
|
||||||
less than a 🍔
|
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
<!--
|
<!--
|
||||||
<div class="flex flex-col items-center">
|
<div class="flex flex-col items-center">
|
||||||
<div class="flex flex-row items-center">
|
<div class="flex flex-row items-center">
|
||||||
@ -1318,8 +1308,8 @@
|
|||||||
<p
|
<p
|
||||||
class="text-sm sm:text-[1rem] pb-5 text-gray-200 overflow-hidden transition-all duration-300 ease-in-out"
|
class="text-sm sm:text-[1rem] pb-5 text-gray-200 overflow-hidden transition-all duration-300 ease-in-out"
|
||||||
>
|
>
|
||||||
Yes, you can select the annual option. It costs $59.88 per
|
Yes, you can choose the annual option for $120 per year.
|
||||||
year, which is equivalent to getting 6 months free.
|
This allows you to save 33.33% compared to the monthly plan
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user