update pricing

This commit is contained in:
MuslemRahimi 2024-08-01 16:25:45 +02:00
parent 9860f97019
commit 89fcaf275d
3 changed files with 8 additions and 7 deletions

View File

@ -8,7 +8,7 @@
let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL;
let mode = false; let mode = true;
function toggleMode() function toggleMode()
{ {
@ -56,7 +56,7 @@ onMount(async () => {
Pay Yearly Pay Yearly
</span> </span>
<span class="text-[#FBCE3C] text-sm font-semibold"> <span class="text-[#FBCE3C] text-sm font-semibold">
Save up 16% Save up 50%
</span> </span>
</div> </div>
@ -174,7 +174,7 @@ onMount(async () => {
<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">{mode ? '$499' : '$49.99'}</span> <span class="mr-2 text-4xl font-bold">{mode ? '$299' : '$49.99'}</span>
<span class="text-white text-xl">{mode ? '/year' : '/month'}</span> <span class="text-white text-xl">{mode ? '/year' : '/month'}</span>
</div> </div>
<!-- <!--

View File

@ -154,7 +154,7 @@ class="hidden sm:block [mask-image:linear-gradient(to_bottom_right,white,transpa
<svg class="w-5 h-5 sm:w-6 sm:h-6 ms-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#FAC109" d="m5.825 21l1.625-7.025L2 9.25l7.2-.625L12 2l2.8 6.625l7.2.625l-5.45 4.725L18.175 21L12 17.275z"/></svg> <svg class="w-5 h-5 sm:w-6 sm:h-6 ms-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#FAC109" d="m5.825 21l1.625-7.025L2 9.25l7.2-.625L12 2l2.8 6.625l7.2.625l-5.45 4.725L18.175 21L12 17.275z"/></svg>
</div> </div>
<span class="text-sm font-semibold text-white mt-1.5"> <span class="text-sm font-semibold text-white mt-1.5">
Used by over 1,000+ traders Used by over 2,000+ traders
</span> </span>
</div> </div>

View File

@ -3,6 +3,7 @@ import { numberOfUnreadNotification, globalForm } from '$lib/store';
import { openLemonSqueezyUrl } from '$lib/lemonsqueezy'; import { openLemonSqueezyUrl } from '$lib/lemonsqueezy';
//import Discount from '$lib/components/Discount.svelte'; //import Discount from '$lib/components/Discount.svelte';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import { treemapResquarify } from 'd3-hierarchy';
//import proTierLogo from "$lib/images/pro_tier_logo.png"; //import proTierLogo from "$lib/images/pro_tier_logo.png";
@ -11,7 +12,7 @@ export let form;
let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL; let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL;
let mode = false; let mode = treemapResquarify;
const emailAddress = 'support@stocknear.com'; const emailAddress = 'support@stocknear.com';
function toggleMode() function toggleMode()
@ -142,7 +143,7 @@ async function purchasePlan(subscriptionType:string='') {
Pay Yearly Pay Yearly
</span> </span>
<span class="text-[#FBCE3C] text-sm font-semibold"> <span class="text-[#FBCE3C] text-sm font-semibold">
Save up 16% Save up 50%
</span> </span>
</div> </div>
@ -263,7 +264,7 @@ async function purchasePlan(subscriptionType:string='') {
<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">{mode ? '$499' : '$49.99'}</span> <span class="mr-2 text-4xl font-bold">{mode ? '$299' : '$49.99'}</span>
<span class="text-white text-xl">{mode ? '/year' : '/month'}</span> <span class="text-white text-xl">{mode ? '/year' : '/month'}</span>
</div> </div>
<!-- <!--