remove stock slider

This commit is contained in:
MuslemRahimi 2024-06-16 15:02:10 +02:00
parent 52b4548775
commit f4e2d5515f
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
import { goto } from '$app/navigation'; import { goto } from '$app/navigation';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import { abbreviateNumber, formatDate } from '$lib/utils'; import { abbreviateNumber, formatDate } from '$lib/utils';
import StockSlider from '$lib/components/StockSlider.svelte'; //import StockSlider from '$lib/components/StockSlider.svelte';
import InfoModal from '$lib/components/InfoModal.svelte'; import InfoModal from '$lib/components/InfoModal.svelte';
import nancyPelosiProfile from '$lib/images/senator/Nancy_Pelosi.png'; import nancyPelosiProfile from '$lib/images/senator/Nancy_Pelosi.png';
import warrenBuffetProfile from '$lib/images/hedge_funds/0001067983.png'; import warrenBuffetProfile from '$lib/images/hedge_funds/0001067983.png';
@ -26,7 +26,7 @@
let gainer = rawData?.gainers['1D']?.slice(0,5); let gainer = rawData?.gainers['1D']?.slice(0,5);
let loser = rawData?.losers['1D']?.slice(0,5); let loser = rawData?.losers['1D']?.slice(0,5);
let active = rawData?.active['1D']?.slice(0,5); let active = rawData?.active['1D']?.slice(0,5);
let sliderList = rawData?.active['1D']; //let sliderList = rawData?.active['1D'];
let gainerLoserTickers = []; let gainerLoserTickers = [];
let showLoser = false; let showLoser = false;
@ -132,9 +132,11 @@ onMount( async() => {
<div class="flex flex-col w-full max-w-6xl justify-center items-center"> <div class="flex flex-col w-full max-w-6xl justify-center items-center">
<div class="text-center mb-10 w-full"> <div class="text-center mb-10 w-full">
<!---Start-Autocomplete-Searchbar--> <!---Start-Autocomplete-Searchbar-->
<!--
{#if sliderList?.length !== 0} {#if sliderList?.length !== 0}
<StockSlider sliderList={sliderList}/> <StockSlider sliderList={sliderList}/>
{/if} {/if}
-->
{#if Feedback} {#if Feedback}
<Feedback data={data} /> <Feedback data={data} />

View File

@ -141,7 +141,8 @@
<div class="w-full max-w-4xl text-center sm:text-start sm:flex sm:flex-row sm:items-center m-auto text-gray-100 bg-[#202020] sm:rounded-lg h-auto p-5 "> <div class="w-full max-w-4xl text-center sm:text-start sm:flex sm:flex-row sm:items-center m-auto text-gray-100 bg-[#202020] sm:rounded-lg h-auto p-5 ">
<svg class="w-5 h-5 inline-block sm:mr-2 flex-shrink-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="#60a5fa" d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m-4 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12m12 112a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 0 16"/></svg> <svg class="w-5 h-5 inline-block sm:mr-2 flex-shrink-0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="#60a5fa" d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m-4 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12m12 112a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 0 16"/></svg>
We regularly update retail investor trading volumes, indicating daily sentiment as bullish (more buying) or bearish (more selling) for each stock. We update on a daily basis where retail investor are trading the most to never miss out the next hype.
Daily sentiments can either be bullish (strong buying of retail investors) or bearish (more selling) for each stock.
</div> </div>
<div class="w-screen sm:w-full m-auto mt-20 sm:mt-10"> <div class="w-screen sm:w-full m-auto mt-20 sm:mt-10">
@ -221,7 +222,7 @@
</table> </table>
</div> </div>
<InfiniteLoading on:infinite={infiniteHandler} /> <InfiniteLoading on:infinite={infiniteHandler} />
<UpgradeToPro data={data} title="Get the most shorted stocks on the market to never miss out the next short squeeze"/> <UpgradeToPro data={data} title="Get the top 100 stocks that retail investors put their money on the market to never miss out the next hype"/>
</div> </div>