This commit is contained in:
MuslemRahimi 2024-12-18 01:15:16 +01:00
parent 08b1b2bfe0
commit 03ac4fe593
2 changed files with 5 additions and 6 deletions

View File

@ -98,7 +98,7 @@
layout: { layout: {
background: { background: {
type: ColorType.Solid, type: ColorType.Solid,
color: "#09090B", color: "#2A2E39",
}, },
lineColor: "#2B2B43", lineColor: "#2B2B43",
textColor: "#D9D9D9", textColor: "#D9D9D9",
@ -164,7 +164,6 @@
chart && chart &&
typeof window !== "undefined" typeof window !== "undefined"
) { ) {
console.log("yes");
chart?.timeScale()?.fitContent(); chart?.timeScale()?.fitContent();
} }
@ -184,12 +183,12 @@
> >
</HoverCard.Trigger> </HoverCard.Trigger>
</div> </div>
<HoverCard.Content class=" w-96 bg-[#09090B] border border-gray-400"> <HoverCard.Content class=" w-96 bg-[#2A2E39] border border-gray-600">
<div class="flex justify-between space-x-4 w-full text-white"> <div class="flex justify-between space-x-4 w-full text-white">
<div class="space-y-1 w-full"> <div class="space-y-1 w-full">
<!--Hover Stock Chart--> <!--Hover Stock Chart-->
<label <label
class=" text-sm flex flex-row items-center justify-start bg-[#09090B]" class=" text-sm flex flex-row items-center justify-start bg-[#2A2E39]"
> >
<div class="flex flex-col items-start w-full"> <div class="flex flex-col items-start w-full">
<div class=" flex flex-col items-start pb-1"> <div class=" flex flex-col items-start pb-1">

View File

@ -683,7 +683,7 @@
<ul style="padding-left: 5px;"> <ul style="padding-left: 5px;">
{#each data?.getDashboard?.upcomingEarnings as item} {#each data?.getDashboard?.upcomingEarnings as item}
<li <li
style="margin-left: 8px; line-height: 22px; margin-bottom: 30px; list-style-type: disc;" class="text-sm sm:text-[1rem]" style=" margin-left: 8px; margin-bottom: 30px; list-style-type: disc;"
> >
<strong>{item?.name}</strong> (<HoverStockChart <strong>{item?.name}</strong> (<HoverStockChart
symbol={item?.symbol} symbol={item?.symbol}
@ -771,7 +771,7 @@
)}: )}:
<li <li
style="color: #fff; line-height: 22px; margin-top:10px; margin-left: 30px; margin-bottom: 10px; list-style-type: disc;" class="text-sm sm:text-[1rem]" style="color: #fff; margin-top:10px; margin-left: 30px; margin-bottom: 10px; list-style-type: disc;"
> >
Revenue of {abbreviateNumber(item?.revenue)} Revenue of {abbreviateNumber(item?.revenue)}
{item?.revenueSurprise > 0 ? "exceeds" : "misses"} estimates {item?.revenueSurprise > 0 ? "exceeds" : "misses"} estimates