diff --git a/src/routes/stocks/[tickerID]/forecast/ai/+page.svelte b/src/routes/stocks/[tickerID]/forecast/ai/+page.svelte index 8e6e2d9e..a34e889b 100644 --- a/src/routes/stocks/[tickerID]/forecast/ai/+page.svelte +++ b/src/routes/stocks/[tickerID]/forecast/ai/+page.svelte @@ -1,6 +1,7 @@
-
- {#if optionsPieChart !== null} - - {/if} -
-
- AI Consensus: {consensusRating} +
+
+ {#if optionsPieChart !== null} + + {/if} +
+
+ Analyst Consensus: {consensusRating} +
-
- {#if data?.user?.tier !== "Pro"} - - {:else if optionsPriceForecast !== null} - - {/if} -
+
@@ -397,112 +403,24 @@ Change 0 && data?.user?.tier === "Pro" + class={lowChange > 0 ? "before:content-['+'] text-[#00FC50]" - : "text-[#FF2F1F]"} + : "text-[#FF2F1F]"}>{lowChange}% - {#if data?.user?.tier !== "Pro"} - - - - - - - {:else} - {lowChange}% - {/if} - 0 && data?.user?.tier === "Pro" + class={avgChange > 0 ? "before:content-['+'] text-[#00FC50]" - : "text-[#FF2F1F]"} + : "text-[#FF2F1F]"}>{avgChange}% - {#if data?.user?.tier !== "Pro"} - - - - - - - {:else} - {avgChange}% - {/if} - 0 && data?.user?.tier === "Pro" + class={medianChange > 0 ? "before:content-['+'] text-[#00FC50]" - : "text-[#FF2F1F]"} + : "text-[#FF2F1F]"}>{medianChange}% - {#if data?.user?.tier !== "Pro"} - - - - - - - {:else} - {medianChange}% - {/if} - 0 && data?.user?.tier === "Pro" + class={highChange > 0 ? "before:content-['+'] text-[#00FC50]" - : "text-[#FF2F1F]"} - > - {#if data?.user?.tier !== "Pro"} - - - - - - - {:else} - {highChange}% - {/if}{highChange}%