This commit is contained in:
MuslemRahimi 2025-03-02 21:34:13 +01:00
parent 543bf7d0c5
commit 7cbabf582a
2 changed files with 6 additions and 53 deletions

View File

@ -75,57 +75,6 @@
</article> </article>
</div> </div>
</main> </main>
<aside class="hidden lg:block relative fixed w-1/4">
<div class="mt-5 lg:w-full">
<div class="flex flex-wrap gap-y-5 justify-center px-5">
{#if !data?.user}
<div
class="w-full text-white border border-gray-600 rounded-md h-fit bg-inherit lg:mx-0 lg:w-[300px] xl:w-[360px]"
>
<div class="space-y-6 p-6">
<h4 class="text-xl font-semibold sm:text-2xl sm:font-bold">
Stay informed in just 2 minutes
</h4>
<p class="text-base text-white lg:text-lg">
Get a daily email with the top market-moving news in bullet
point format, for Pro Members only.
</p>
<div>
<a
href="/register"
class=" btn bg-[#fff] border border-gray-600 sm:hover:bg-gray-300 transition duration-100 btn-md w-full rounded-md m-auto text-black font-semibold text-[1rem]"
>
<span class="text-[1rem]">Sign Up</span>
</a>
</div>
</div>
</div>
{/if}
<a
href="/watchlist/stocks"
class="w-full text-white border border-gray-600 rounded-md h-fit bg-inherit sm:hover:bg-secondary transition ease-out duration-100 lg:mx-0 lg:w-[300px] xl:w-[360px]"
>
<div class="space-y-3 p-6">
<h4 class="text-xl font-semibold">Watchlist</h4>
<p class="text-base text-white lg:text-lg">
Build your watchlist to keep track of their performance
</p>
</div>
</a>
<a
href="/analysts/top-stocks"
class="w-full text-white border border-gray-600 rounded-md h-fit bg-inherit sm:hover:bg-secondary transition ease-out duration-100 lg:mx-0 lg:w-[300px] xl:w-[360px]"
>
<div class="space-y-3 p-6">
<h4 class="text-xl font-semibold">Top Stocks</h4>
<p class="text-base text-white lg:text-lg">
Get the latest Top Wall Street Analyst Ratings
</p>
</div>
</a>
</div>
</div>
</aside>
</div> </div>
</div> </div>
</section> </section>

View File

@ -194,8 +194,12 @@
return options; return options;
} }
changeTablePeriod(0); $: {
changeTimePeriod(0); if ($stockTicker) {
changeTablePeriod(0);
changeTimePeriod(0);
}
}
</script> </script>
<SEO <SEO