diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1e5b8123..dad60e82 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -397,9 +397,9 @@ onMount( async() => { - - - +
+ + @@ -407,25 +407,25 @@ onMount( async() => { - + {#each gainerLoserTickers as item} - goto("/stocks/"+item.symbol)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] border-b-[#0F0F0F] shake-ticker cursor-pointer"> - goto("/stocks/"+item.symbol)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] border-b-[#202020] shake-ticker cursor-pointer"> + - - -
Symbol Name Market Cap
+
{item?.symbol} + {item?.name?.length > 30 ? item?.name?.slice(0,30) + "..." : item?.name} + {item?.marketCap !== null ? abbreviateNumber(item?.marketCap,true) : '-'} +
@@ -544,34 +544,34 @@ onMount( async() => {
- +
- - - - - + + + + + - + {#each active as item, index} - goto("/stocks/"+item?.symbol)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] border-b-[#0F0F0F] shake-ticker cursor-pointer"> - goto("/stocks/"+item?.symbol)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] border-b-[#202020] shake-ticker cursor-pointer"> + - - -
SymbolNameVolumeToday
SymbolNameVolumeToday
+
{item?.symbol} + {item?.name?.length > 30 ? item?.name?.slice(0,30) + "..." : item?.name} + {item?.volume !== null ? abbreviateNumber(item?.volume) : '-'} +