diff --git a/src/lib/components/PriceAlert.svelte b/src/lib/components/PriceAlert.svelte index df46e817..269cc89b 100644 --- a/src/lib/components/PriceAlert.svelte +++ b/src/lib/components/PriceAlert.svelte @@ -1,7 +1,6 @@ @@ -149,341 +81,123 @@ /> -{#if $screenWidth >= 640} - - + + - + + + + -{:else} - -
- -
- -
Symbol +
+ +
+ +
+ + +
+ + +
+ +
-
- -
+ +
+ -
- {#each Array.from({ length: 9 }, (_, i) => i + 1) as number} -
- -
- {/each} -
- -
-
- -
-
- -
+
+ + {#if !isNaN(targetPrice) && targetPrice !== undefined && targetPrice !== null} +
+ +

+ Your price alert will notify you when the stock price is {condition} + {targetPrice?.toFixed(2)}. +

+
+ {/if} + + +
+ + +
+ +
- -{/if} - - +
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 937aee5c..a0c4a7c4 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -620,7 +620,7 @@ >Reddit Tracker - +