update pricing page

This commit is contained in:
MuslemRahimi 2025-03-06 20:26:05 +01:00
parent 54e83b7b86
commit 75bec02633
6 changed files with 720 additions and 1343 deletions

View File

@ -133,14 +133,14 @@
<a <a
href="/pricing" href="/pricing"
class="no-underline sm:hover:underline text-gray-100 sm:hover:text-blue-400" class="no-underline sm:hover:underline text-gray-100 sm:hover:text-blue-400"
>Pro Pricing</a >Pricing</a
> >
</li> </li>
<li class="mt-2 inline-block mr-2 md:block md:mr-0"> <li class="mt-2 inline-block mr-2 md:block md:mr-0">
<a <a
href="/newsletter" href="/newsletter"
class="no-underline sm:hover:underline text-gray-100 sm:hover:text-blue-400" class="no-underline sm:hover:underline text-gray-100 sm:hover:text-blue-400"
>Pro Newsletter</a >Free Newsletter</a
> >
</li> </li>
<li class="mt-2 inline-block mr-2 md:block md:mr-0"> <li class="mt-2 inline-block mr-2 md:block md:mr-0">

View File

@ -55,7 +55,7 @@
}, },
title: { title: {
text: `<div class="text-gray-200 mt-3 mb-2 text-center font-normal text-2xl">Price Target: <span class="${changesPercentage >= 0 ? "text-[#00FC50]" : "text-[#FF2F1F]"}">$${priceTarget}</span></div> text: `<div class="text-gray-200 mt-3 mb-2 text-center font-normal text-2xl">Price Target: <span class="${changesPercentage >= 0 ? "text-[#00FC50]" : "text-[#FF2F1F]"}">$${priceTarget}</span></div>
<div class="text-gray-200 text-center font-normal text-xl flex justify-center items-center">Analyst Consensus: <span class="ml-1 ${changesPercentage >= 0 ? "text-[#00FC50]" : "text-[#FF2F1F]"}">${consensusRating}</span></div>`, <div class="text-gray-200 text-center font-normal text-xl flex justify-center items-center">Analyst Consensus: <span class="ml-1 ${consensusRating === "Buy" ? "text-[#00FC50]" : consensusRating === "Sell" ? "text-[#FF2F1F]" : consensusRating === "Hold" ? "text-[#D5AB31]" : "text-white"}">${consensusRating ?? "n/a"}</span></div>`,
style: { style: {
color: "white", color: "white",
// Using inline CSS for margin-top and margin-bottom // Using inline CSS for margin-top and margin-bottom

View File

@ -41,7 +41,7 @@ export default (node, config) => {
const y = chart.chartHeight - marginY; const y = chart.chartHeight - marginY;
chart.watermark = chart.renderer chart.watermark = chart.renderer
.text('stocknear.com', x, y) .text('', x, y)
.attr({ align: 'right' }) .attr({ align: 'right' })
.css({ .css({
fontSize: '12px', fontSize: '12px',

View File

@ -466,7 +466,7 @@
> >
<Card.Title <Card.Title
class="text-xl sm:text-2xl tex-white font-semibold" class="text-xl sm:text-2xl tex-white font-semibold"
>AI Analyst report >Analyst Insight Report
</Card.Title> </Card.Title>
{#if analystReport?.date} {#if analystReport?.date}
<label <label

View File

@ -622,9 +622,7 @@
class="sm:hover:bg-[#245073]/10 odd:bg-odd border border-gray-800" class="sm:hover:bg-[#245073]/10 odd:bg-odd border border-gray-800"
> >
<td class="text-white text-sm sm:text-[1rem]"> <td class="text-white text-sm sm:text-[1rem]">
<label class="p-1.5 rounded-md" {item?.time}
>{item?.time}</label
>
</td> </td>
<td <td
class="flex flex-row items-center text-sm sm:text-[1rem] whitespace-nowrap" class="flex flex-row items-center text-sm sm:text-[1rem] whitespace-nowrap"

File diff suppressed because one or more lines are too long