This commit is contained in:
MuslemRahimi 2025-03-31 17:57:24 +02:00
parent 96887705ea
commit a14a4ba59e
3 changed files with 13 additions and 24 deletions

View File

@ -168,7 +168,7 @@
<DropdownMenu.Trigger asChild let:builder>
<Button
builders={[builder]}
class="shadow-sm border-gray-300 dark:border-gray-600 border sm:hover:bg-gray-100 dark:sm:hover:bg-gray-300 dark:sm:hover:bg-primary ease-out flex flex-row justify-between items-center px-3 py-2 rounded-md truncate"
class=" border-gray-300 dark:border-gray-600 border sm:hover:bg-gray-100 dark:sm:hover:bg-gray-300 dark:sm:hover:bg-primary ease-out flex flex-row justify-between items-center px-3 py-2 shadow-sm rounded"
disabled={isLoading}
>
<span class="truncate">Time Period</span>
@ -199,16 +199,10 @@
<DropdownMenu.Group>
{#each ["1D", "1W", "1M", "3M", "6M", "1Y", "3Y"] as item}
<DropdownMenu.Item
class="sm:hover:bg-gray-300 dark:sm:hover:bg-primary"
on:click={() => getHeatMap(item)}
class="sm:hover:bg-gray-300 dark:sm:hover:bg-primary cursor-pointer"
>
<div class="flex items-center">
<button
on:click={() => getHeatMap(item)}
class="cursor-pointer"
>
<span class="mr-8">{item}</span>
</button>
</div>
<span class="mr-8">{item}</span>
</DropdownMenu.Item>
{/each}
</DropdownMenu.Group>

View File

@ -210,13 +210,6 @@
{removeCompanyStrings($displayCompanyName)} Analyst Ratings
</h1>
<div>
<div class="pr-4 hidden justify-end md:flex">
<InfoModal
title={"Top Analysts"}
content={"Filter for analysts rated 4+ stars focusing on their win rate and average return per rating. Analysts with 4+ stars typically exhibit both high accuracy and high return per rating."}
id={"topAnalystsInfo"}
/>
</div>
<div class="flex flex-col w-full sm:w-fit items-end justify-end">
<label
for="topAnalystModal"
@ -332,9 +325,9 @@
<div
class="mt-1 break-words font-semibold leading-8 text-xl sm:text-2xl {changesPercentage >=
0
? "before:content-['+'] after:content-['%'] text-green-600 dark:text-[#00FC50]"
? "before:content-['+'] after:content-['%'] text-green-700 dark:text-[#00FC50]"
: changesPercentage < 0
? "after:content-['%'] text-red-600 dark:text-[#FF2F1F]"
? "after:content-['%'] text-red-700 dark:text-[#FF2F1F]"
: ''}"
>
{changesPercentage}
@ -477,13 +470,13 @@
'Strong Buy',
'Buy',
]?.includes(item?.rating_current)
? ' text-green-600 dark:text-[#00FC50] '
? ' text-green-700 dark:text-[#00FC50] '
: item?.rating_current === 'Hold'
? '"text-red-600 dark:text-[#FF7070]"'
? '"text-red-700 dark:text-[#FF7070]"'
: ['Strong Sell', 'Sell']?.includes(
item?.rating_current,
)
? 'text-red-600 dark:text-[#FF2F1F]'
? 'text-red-700 dark:text-[#FF2F1F]'
: ''}"
>
{item?.rating_current}
@ -543,12 +536,12 @@
data?.getStockQuote?.price -
1 >=
0
? 'text-green-600 dark:text-[#00FC50] '
? 'text-green-700 dark:text-[#00FC50] '
: item?.adjusted_pt_current /
data?.getStockQuote?.price -
1 <
0
? 'text-red-600 dark:text-[#FF2F1F]'
? 'text-red-700 dark:text-[#FF2F1F]'
: ''}"
>
{(

2
static/ads.txt Normal file
View File

@ -0,0 +1,2 @@
#Adsense
google.com, pub-7722951169931877, DIRECT, f08c47fec0942fa0