fix svg
This commit is contained in:
parent
96887705ea
commit
a14a4ba59e
@ -168,7 +168,7 @@
|
|||||||
<DropdownMenu.Trigger asChild let:builder>
|
<DropdownMenu.Trigger asChild let:builder>
|
||||||
<Button
|
<Button
|
||||||
builders={[builder]}
|
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}
|
disabled={isLoading}
|
||||||
>
|
>
|
||||||
<span class="truncate">Time Period</span>
|
<span class="truncate">Time Period</span>
|
||||||
@ -199,16 +199,10 @@
|
|||||||
<DropdownMenu.Group>
|
<DropdownMenu.Group>
|
||||||
{#each ["1D", "1W", "1M", "3M", "6M", "1Y", "3Y"] as item}
|
{#each ["1D", "1W", "1M", "3M", "6M", "1Y", "3Y"] as item}
|
||||||
<DropdownMenu.Item
|
<DropdownMenu.Item
|
||||||
class="sm:hover:bg-gray-300 dark:sm:hover:bg-primary"
|
|
||||||
>
|
|
||||||
<div class="flex items-center">
|
|
||||||
<button
|
|
||||||
on:click={() => getHeatMap(item)}
|
on:click={() => getHeatMap(item)}
|
||||||
class="cursor-pointer"
|
class="sm:hover:bg-gray-300 dark:sm:hover:bg-primary cursor-pointer"
|
||||||
>
|
>
|
||||||
<span class="mr-8">{item}</span>
|
<span class="mr-8">{item}</span>
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</DropdownMenu.Item>
|
</DropdownMenu.Item>
|
||||||
{/each}
|
{/each}
|
||||||
</DropdownMenu.Group>
|
</DropdownMenu.Group>
|
||||||
|
|||||||
@ -210,13 +210,6 @@
|
|||||||
{removeCompanyStrings($displayCompanyName)} Analyst Ratings
|
{removeCompanyStrings($displayCompanyName)} Analyst Ratings
|
||||||
</h1>
|
</h1>
|
||||||
<div>
|
<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">
|
<div class="flex flex-col w-full sm:w-fit items-end justify-end">
|
||||||
<label
|
<label
|
||||||
for="topAnalystModal"
|
for="topAnalystModal"
|
||||||
@ -332,9 +325,9 @@
|
|||||||
<div
|
<div
|
||||||
class="mt-1 break-words font-semibold leading-8 text-xl sm:text-2xl {changesPercentage >=
|
class="mt-1 break-words font-semibold leading-8 text-xl sm:text-2xl {changesPercentage >=
|
||||||
0
|
0
|
||||||
? "before:content-['+'] after:content-['%'] text-green-600 dark:text-[#00FC50]"
|
? "before:content-['+'] after:content-['%'] text-green-700 dark:text-[#00FC50]"
|
||||||
: changesPercentage < 0
|
: changesPercentage < 0
|
||||||
? "after:content-['%'] text-red-600 dark:text-[#FF2F1F]"
|
? "after:content-['%'] text-red-700 dark:text-[#FF2F1F]"
|
||||||
: ''}"
|
: ''}"
|
||||||
>
|
>
|
||||||
{changesPercentage}
|
{changesPercentage}
|
||||||
@ -477,13 +470,13 @@
|
|||||||
'Strong Buy',
|
'Strong Buy',
|
||||||
'Buy',
|
'Buy',
|
||||||
]?.includes(item?.rating_current)
|
]?.includes(item?.rating_current)
|
||||||
? ' text-green-600 dark:text-[#00FC50] '
|
? ' text-green-700 dark:text-[#00FC50] '
|
||||||
: item?.rating_current === 'Hold'
|
: item?.rating_current === 'Hold'
|
||||||
? '"text-red-600 dark:text-[#FF7070]"'
|
? '"text-red-700 dark:text-[#FF7070]"'
|
||||||
: ['Strong Sell', 'Sell']?.includes(
|
: ['Strong Sell', 'Sell']?.includes(
|
||||||
item?.rating_current,
|
item?.rating_current,
|
||||||
)
|
)
|
||||||
? 'text-red-600 dark:text-[#FF2F1F]'
|
? 'text-red-700 dark:text-[#FF2F1F]'
|
||||||
: ''}"
|
: ''}"
|
||||||
>
|
>
|
||||||
{item?.rating_current}
|
{item?.rating_current}
|
||||||
@ -543,12 +536,12 @@
|
|||||||
data?.getStockQuote?.price -
|
data?.getStockQuote?.price -
|
||||||
1 >=
|
1 >=
|
||||||
0
|
0
|
||||||
? 'text-green-600 dark:text-[#00FC50] '
|
? 'text-green-700 dark:text-[#00FC50] '
|
||||||
: item?.adjusted_pt_current /
|
: item?.adjusted_pt_current /
|
||||||
data?.getStockQuote?.price -
|
data?.getStockQuote?.price -
|
||||||
1 <
|
1 <
|
||||||
0
|
0
|
||||||
? 'text-red-600 dark:text-[#FF2F1F]'
|
? 'text-red-700 dark:text-[#FF2F1F]'
|
||||||
: ''}"
|
: ''}"
|
||||||
>
|
>
|
||||||
{(
|
{(
|
||||||
|
|||||||
2
static/ads.txt
Normal file
2
static/ads.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Adsense
|
||||||
|
google.com, pub-7722951169931877, DIRECT, f08c47fec0942fa0
|
||||||
Loading…
x
Reference in New Issue
Block a user