This commit is contained in:
MuslemRahimi 2024-07-28 21:33:18 +02:00
parent 128ec7bb34
commit 69585c527d

View File

@ -461,13 +461,13 @@ const optionCompanySpread = {
<Table.Root class="overflow-x-scroll w-full">
<Table.Header>
<Table.Row>
<Table.Head class="text-white">Rank</Table.Head>
<Table.Head class="text-white">Symbol</Table.Head>
<Table.Head class="text-white text-end">Mentions</Table.Head>
<Table.Head class="text-white text-end">Calls</Table.Head>
<Table.Head class="text-white text-end">Puts</Table.Head>
<Table.Head class="text-white text-end">Sentiment</Table.Head>
<Table.Head class="text-white text-end">Price</Table.Head>
<Table.Head class="text-white text-[1rem]">Rank</Table.Head>
<Table.Head class="text-white text-[1rem]">Symbol</Table.Head>
<Table.Head class="text-white text-[1rem] text-end">Mentions</Table.Head>
<Table.Head class="text-white text-[1rem] text-end">Calls</Table.Head>
<Table.Head class="text-white text-[1rem] text-end">Puts</Table.Head>
<Table.Head class="text-white text-[1rem] text-end">Sentiment</Table.Head>
<Table.Head class="text-white text-[1rem] text-end">Price</Table.Head>
</Table.Row>
</Table.Header>
<Table.Body>
@ -478,7 +478,7 @@ const optionCompanySpread = {
</Table.Cell>
<Table.Cell>
<a href={item?.assetType === 'stocks' ? `/stocks/${item?.symbol}` : `/etf/${item?.symbol}`} class="whitespace-wrap font-medium">
<div class="flex flex-col items-start">
<div class="flex flex-col items-start text-[1rem]">
<span class="text-blue-400 sm:hover:text-white transition duration-100">{item?.symbol}</span>
<span class="text-white whitespace-wrap text-sm hidden sm:block">
{item?.name}
@ -486,10 +486,10 @@ const optionCompanySpread = {
</div>
</a>
</Table.Cell>
<Table.Cell class="text-right">{item?.count}</Table.Cell>
<Table.Cell class="text-right text-[#00FC50]">{item?.call}</Table.Cell>
<Table.Cell class="text-right text-[#FC2120]">{item?.put}</Table.Cell>
<Table.Cell class="text-right {item?.avgSentiment > 0.4 ? 'text-[#00FC50]' : item?.avgSentiment <-0.1 ? 'text-[#FC2120]' : 'text-[#C6A755]'} ">{item?.avgSentiment > 0.4 ? 'Bullish' : item?.avgSentiment <= -0.1 ? 'Bearish' : 'Neutral'}</Table.Cell>
<Table.Cell class="text-right text-[1rem]">{item?.count}</Table.Cell>
<Table.Cell class="text-right text-[1rem] text-[#00FC50]">{item?.call}</Table.Cell>
<Table.Cell class="text-right text-[1rem] text-[#FC2120]">{item?.put}</Table.Cell>
<Table.Cell class="text-right text-[1rem] {item?.avgSentiment > 0.4 ? 'text-[#00FC50]' : item?.avgSentiment <-0.1 ? 'text-[#FC2120]' : 'text-[#C6A755]'} ">{item?.avgSentiment > 0.4 ? 'Bullish' : item?.avgSentiment <= -0.1 ? 'Bearish' : 'Neutral'}</Table.Cell>
<Table.Cell>
<div class="flex flex-row justify-end items-center">