From bc3a6221a64a3ef9c179b2c1e9b3659661463ea7 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sun, 9 Mar 2025 17:53:18 +0100 Subject: [PATCH] ui fixes --- src/lib/components/Feedback.svelte | 10 +- src/lib/components/LoginPopup.svelte | 19 +-- src/lib/components/PriceAlert.svelte | 7 +- src/lib/components/Share.svelte | 4 +- .../components/Table/OptionsFlowTable.svelte | 4 +- src/lib/components/Table/Table.svelte | 4 +- src/routes/dark-pool-flow/+page.svelte | 13 +- src/routes/etf/[tickerID]/+layout.svelte | 7 +- src/routes/heatmap/+page.svelte | 7 +- src/routes/index/[tickerID]/+layout.svelte | 7 +- src/routes/login/+page.svelte | 16 +- src/routes/options-flow/+page.svelte | 10 +- src/routes/price-alert/+page.svelte | 7 +- src/routes/profile/+page.svelte | 152 ++++++++---------- src/routes/register/+page.svelte | 10 +- src/routes/reset-password/+page.svelte | 13 +- src/routes/stock-screener/+page.svelte | 25 ++- src/routes/stocks/[tickerID]/+layout.svelte | 7 +- src/routes/update-password/+page.svelte | 4 +- src/routes/watchlist/options/+page.svelte | 7 +- src/routes/watchlist/stocks/+page.svelte | 28 ++-- 21 files changed, 151 insertions(+), 210 deletions(-) diff --git a/src/lib/components/Feedback.svelte b/src/lib/components/Feedback.svelte index 3243cf8a..035600c2 100644 --- a/src/lib/components/Feedback.svelte +++ b/src/lib/components/Feedback.svelte @@ -1,5 +1,6 @@ @@ -191,12 +181,12 @@ />
@@ -207,17 +197,13 @@ >
-

- My Account -

+

My Account

-

- User Information -

+

User Information

Email: {data?.user?.email} @@ -230,15 +216,17 @@ year: "numeric", })}
- Update Password
-

Notification

+

Notification

Customize your notification alerts based on your preferences.
@@ -246,7 +234,7 @@
@@ -260,12 +248,12 @@ toggleMode("earningsSurprise")} type="checkbox" - checked={mode["earningsSurprise"]} - value={mode["earningsSurprise"]} + checked={modeStatus["earningsSurprise"]} + value={modeStatus["earningsSurprise"]} class="sr-only peer" />
@@ -275,7 +263,7 @@
@@ -289,12 +277,12 @@ toggleMode("wiim")} type="checkbox" - checked={mode["wiim"]} - value={mode["wiim"]} + checked={modeStatus["wiim"]} + value={modeStatus["wiim"]} class="sr-only peer" />
@@ -304,7 +292,7 @@
@@ -318,20 +306,18 @@ toggleMode("topAnalyst")} type="checkbox" - checked={mode["topAnalyst"]} - value={mode["topAnalyst"]} + checked={modeStatus["topAnalyst"]} + value={modeStatus["topAnalyst"]} class="sr-only peer" />
-

- Push Notification -

+

Push Notification

{#if pwaInstalled}
{#if nottifPermGranted === null} @@ -394,13 +380,11 @@
-

- Manage Subscription -

+

Manage Subscription

- Status: + Status:
- + {#if data?.user?.freeTrial === true} Active {:else} @@ -433,7 +417,7 @@
{#if subscriptionData?.status_formatted === "Active"} - + Your subscription will automatically renew on {new Date( subscriptionData?.renews_at, )?.toLocaleDateString("en-GB", { @@ -443,7 +427,7 @@ })} {:else if subscriptionData?.status_formatted === "Cancelled"} - + Your subscription will remain active until {new Date( subscriptionData?.ends_at, )?.toLocaleDateString("en-GB", { @@ -454,7 +438,7 @@ {/if}
- Current Plan: + Current Plan: {#if subscriptionData?.first_order_item?.product_name === "Pro Subscription (Life Time Access)"} Lifetime Access @@ -476,7 +460,7 @@ > @@ -489,20 +473,23 @@ Reactivate Subscription {:else if subscriptionData?.status_formatted === "Paid" && !subscriptionData?.first_order_item?.product_name === "Pro Subscription (Life Time Access)"} - + Please wait a moment; you will be updated to Pro in a second. {:else if subscriptionData?.first_order_item?.product_name?.includes("Life Time")}{:else} - + Get Full Access with Pro Subscription. {/if}
-

Need help?

+

Need help?

Here's how to get support:
@@ -511,7 +498,7 @@
  • Send an email to {emailAddress}
  • @@ -521,7 +508,7 @@ rel="noopener noreferrer" target="_blank" href="https://www.reddit.com/r/stocknear/" - class="text-blue-400" + class="sm:hover:text-muted dark:sm:hover:text-white text-blue-500 dark:text-blue-400" > r/stocknear. @@ -531,7 +518,8 @@ rel="noopener noreferrer" target="_blank" href="https://discord.com/invite/hCwZMMZ2MT" - class="text-blue-400">Discord ChannelDiscord Channel. @@ -560,9 +548,9 @@ class="modal-box w-full bg-secondary flex flex-col items-center" >
    -
    +

    Are you sure?

    - + You will no longer be charged for this subscription, and at the end of the billing period, your account will transfer to the Free Plan. @@ -615,9 +603,9 @@ class="modal-box w-full bg-secondary flex flex-col items-center" >
    -
    +

    Reactivate Subscription

    - + Reactivate your Pro Subscription now to unlock unlimited features and gain the edge over the competition. @@ -662,9 +650,9 @@