From 1aa6be70bf1cb647f66c674b3b26bf59f41c816f Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 15 Jul 2024 14:18:48 +0200 Subject: [PATCH] ui fixes --- .../shadcn/accordion/accordion-trigger.svelte | 2 +- src/routes/+layout.svelte | 147 +++++++++++++++++- src/routes/pricing/+page.svelte | 2 +- 3 files changed, 145 insertions(+), 6 deletions(-) diff --git a/src/lib/components/shadcn/accordion/accordion-trigger.svelte b/src/lib/components/shadcn/accordion/accordion-trigger.svelte index 9450d2e0..fb6d9bbf 100644 --- a/src/lib/components/shadcn/accordion/accordion-trigger.svelte +++ b/src/lib/components/shadcn/accordion/accordion-trigger.svelte @@ -21,6 +21,6 @@ on:click > - + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f33c98f2..a5d8f5a9 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -12,6 +12,7 @@ import Footer from '$lib/components/Footer.svelte'; import Searchbar from '$lib/components/Searchbar.svelte'; import NotificationBell from '$lib/components/NotificationBell.svelte'; + import { goto } from "$app/navigation"; //import PullToRefresh from '$lib/components/PullToRefresh.svelte'; //import DiscountBanner from '$lib/components/DiscountBanner.svelte'; @@ -677,7 +678,7 @@ $: { - + Stocks @@ -751,9 +752,9 @@ $: { -
+
- + @@ -795,10 +796,148 @@ $: {
+
+ + + + + + + + + + +
+ + +
+ +
+ + +
+
+
+ +
+ +
+ + + + + + + + Congress + + + + + + + + + + + + + +
+ + + + + +
+ + + +
+ + - + + {#if data?.user?.tier === 'Free' || data?.user?.freeTrial === true} +
+ + + Upgrade to Pro + + Unlock all features of the platform and level up your trading. + + + + + + + + +
+ {/if} + diff --git a/src/routes/pricing/+page.svelte b/src/routes/pricing/+page.svelte index 11611a6f..36a5d5bc 100644 --- a/src/routes/pricing/+page.svelte +++ b/src/routes/pricing/+page.svelte @@ -110,7 +110,7 @@ async function purchasePlan() {
-

+

Flexible plans and features