From 79b7668942cbc0bcce4afa42c20e688098ab8156 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 1 Aug 2024 22:28:16 +0200 Subject: [PATCH] remove lemonsqueezy api for peformance --- src/lib/components/Pricing.svelte | 2 +- src/routes/pricing/+page.server.ts | 4 ++-- src/routes/pricing/+page.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/components/Pricing.svelte b/src/lib/components/Pricing.svelte index 4b62abed..0d57dbe6 100644 --- a/src/lib/components/Pricing.svelte +++ b/src/lib/components/Pricing.svelte @@ -274,7 +274,7 @@ onMount(async () => {
- Limited Offer + Only 100 Slots left
diff --git a/src/routes/pricing/+page.server.ts b/src/routes/pricing/+page.server.ts index f96316be..60c318ae 100644 --- a/src/routes/pricing/+page.server.ts +++ b/src/routes/pricing/+page.server.ts @@ -3,7 +3,7 @@ import { validateData } from "$lib/utils"; import { loginUserSchema, registerUserSchema } from "$lib/schemas"; - +/* export const load = async () => { const apiKey = import.meta.env.VITE_LEMON_SQUEEZY_API_KEY; @@ -28,7 +28,7 @@ export const load = async () => { getLTDCount: await getLTDCount(), }; }; - +*/ diff --git a/src/routes/pricing/+page.svelte b/src/routes/pricing/+page.svelte index bd0ca462..9bb68ccb 100644 --- a/src/routes/pricing/+page.svelte +++ b/src/routes/pricing/+page.svelte @@ -377,7 +377,7 @@ async function purchasePlan(subscriptionType:string='') {
- Only {100-data?.getLTDCount} Slots left + Only 100 Slots left