remove discount

This commit is contained in:
MuslemRahimi 2024-07-03 12:05:52 +02:00
parent 554eddea51
commit 6d1fd1823c
3 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<script lang='ts'>
import { userRegion, numberOfUnreadNotification} from '$lib/store';
import Discount from '$lib/components/Discount.svelte';
//import Discount from '$lib/components/Discount.svelte';
const usRegion = ['cle1','iad1','pdx1','sfo1'];
let apiURL;
@ -122,7 +122,7 @@
</div>
<Discount />
<!--<Discount />-->
</div>

View File

@ -198,6 +198,7 @@ async function loadSearchData() {
<!-- Start Column -->
<div >
<!--
{#if (data?.user?.tier === 'Pro' && data?.user?.freeTrial === true) || (data?.user?.tier !== 'Pro' && data?.user?.freeTrial === false) }
<div class="text-center mb-5 relative w-fit flex justify-center m-auto">
<a href="/pricing" class="text-white antialiased bg-[#202020] w-full px-4 py-2 rounded-xl m-auto font-medium text-sm flex items-center">
@ -210,6 +211,7 @@ async function loadSearchData() {
</div>
</div>
{:else}
-->
<div class="text-center mb-5 relative w-fit flex justify-center m-auto">
<a href="/fda-calendar" class="text-white antialiased bg-[#202020] w-full px-4 py-2 rounded-xl m-auto font-medium text-sm flex items-center">
<span class="font-semibold">Stay Ahead of Biotech <span class="font-bold">Surges</span> with the FDA Calendar</span>
@ -220,7 +222,7 @@ async function loadSearchData() {
</span>
</div>
</div>
{/if}

View File

@ -1,7 +1,7 @@
<script>
import { numberOfUnreadNotification, globalForm } from '$lib/store';
import { openLemonSqueezyUrl } from '$lib/lemonsqueezy';
import Discount from '$lib/components/Discount.svelte';
//import Discount from '$lib/components/Discount.svelte';
import { onMount } from 'svelte';
//import proTierLogo from "$lib/images/pro_tier_logo.png";
@ -148,7 +148,7 @@ async function purchasePlan() {
</div>
<Discount/>
<!--<Discount/>-->
@ -258,9 +258,10 @@ async function purchasePlan() {
<div class="flex flex-col mb-6 items-center">
<div class="flex flex-row items-center">
<span class="mr-2 text-4xl font-bold line-through">{mode ? '$499' : '$49.99'}</span>
<span class="text-white text-xl line-through">{mode ? '/year' : '/month'}</span>
<span class="mr-2 text-4xl font-bold">{mode ? '$499' : '$49.99'}</span>
<span class="text-white text-xl">{mode ? '/year' : '/month'}</span>
</div>
<!--
<div class="flex flex-col items-center">
<div class="flex flex-row items-center">
<span class="mr-2 text-[#FFF374] text-3xl font-bold">{mode ? '$124.75' : '$12.50'}</span>
@ -270,6 +271,7 @@ async function purchasePlan() {
Promo Code: SUMMER75
</span>
</div>
-->
<!--
<div class="flex items-center mt-2 text-[1rem] text-center">