bugfixing

This commit is contained in:
MuslemRahimi 2024-09-06 12:52:45 +02:00
parent 61b25e10de
commit b8433b0b6d
3 changed files with 7 additions and 7 deletions

View File

@ -171,7 +171,7 @@ class="hidden sm:block [mask-image:linear-gradient(to_bottom_right,white,transpa
<h1 class="text-white w-5/6 sm:w-full m-auto text-3xl sm:text-4xl font-bold mt-14 mb-5">
<h1 class="text-white w-5/6 sm:w-full m-auto text-3xl sm:text-4xl font-bold mt-14 mb-10">
Explore High Quality Datasets
</h1>

View File

@ -83,6 +83,10 @@ const allRules = {
growthFreeCashFlow: { label: 'Free Cash Flow Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
growthOperatingCashFlow: { label: 'Operating Cash Flow Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
growthStockBasedCompensation: { label: 'Stock-Based Compensation Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
growthTotalLiabilities: { label: 'Total Liabilities Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
growthTotalDebt: { label: 'Total Debt Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
growthTotalStockholdersEquity: { label: 'Shareholders Equity Growth', step: ['200%','100%','50%','20%','10%','5%','1%'], category: 'fund', defaultCondition: 'over', defaultValue: '1%' },
pe: { label: 'PE Ratio', step: [50,40,30,20,10,5,1], category: 'fund', defaultCondition: 'over', defaultValue: 1 },
forwardPE: { label: 'Forward PE', step: [50,20,10,5,1,0,-1,-5,-10,-20,-50], category: 'fund', defaultCondition: 'over', defaultValue: 0 },
priceToBookRatio: { label: 'PB Ratio', step: [50,40,30,20,10,5,1], category: 'fund', defaultCondition: 'over', defaultValue: 1 },

View File

@ -182,12 +182,8 @@ changeTab(0)
/>
</label>
<div class="mt-1 break-words font-semibold leading-8 text-light text-xl">
{#if changesPercentage >=0}
<span class="text-[#10DB06]">+{changesPercentage}</span>
{:else}
<span class="text-[#FF2F1F]">{changesPercentage}</span>
{/if}
<div class="mt-1 break-words font-semibold leading-8 text-light text-xl {changesPercentage >= 0 ? 'text-[#10DB06]' : changesPercentage < 0 ? 'text-[#FF2F1F]' : 'text-white'}">
{changesPercentage > 0 ? '+' : ''}{changesPercentage}
</div>
</div>
</div>