remove lemonsqueezy api for peformance

This commit is contained in:
MuslemRahimi 2024-08-01 22:28:16 +02:00
parent 72a8a40b33
commit 79b7668942
3 changed files with 4 additions and 4 deletions

View File

@ -274,7 +274,7 @@ onMount(async () => {
<div class="absolute top-0 left-1/2 transform -translate-x-1/2 rounded-b-2xl flex flex-row border border-gray-300 items-center p-2"> <div class="absolute top-0 left-1/2 transform -translate-x-1/2 rounded-b-2xl flex flex-row border border-gray-300 items-center p-2">
<span class="text-white text-md font-semibold px-3"> <span class="text-white text-md font-semibold px-3">
Limited Offer Only 100 Slots left
</span> </span>
</div> </div>

View File

@ -3,7 +3,7 @@ import { validateData } from "$lib/utils";
import { loginUserSchema, registerUserSchema } from "$lib/schemas"; import { loginUserSchema, registerUserSchema } from "$lib/schemas";
/*
export const load = async () => { export const load = async () => {
const apiKey = import.meta.env.VITE_LEMON_SQUEEZY_API_KEY; const apiKey = import.meta.env.VITE_LEMON_SQUEEZY_API_KEY;
@ -28,7 +28,7 @@ export const load = async () => {
getLTDCount: await getLTDCount(), getLTDCount: await getLTDCount(),
}; };
}; };
*/

View File

@ -377,7 +377,7 @@ async function purchasePlan(subscriptionType:string='') {
<div class="absolute top-0 left-1/2 transform -translate-x-1/2 rounded-b-2xl flex flex-row border border-gray-300 items-center p-2"> <div class="absolute top-0 left-1/2 transform -translate-x-1/2 rounded-b-2xl flex flex-row border border-gray-300 items-center p-2">
<span class="text-white text-md font-semibold px-3"> <span class="text-white text-md font-semibold px-3">
Only {100-data?.getLTDCount} Slots left Only 100 Slots left
</span> </span>
</div> </div>