This commit is contained in:
MuslemRahimi 2025-01-17 13:56:15 +01:00
parent 7bf3e785ac
commit 0e5d8b37c7

View File

@ -436,26 +436,21 @@
{#each recentWIIM as item} {#each recentWIIM as item}
<li <li
class="text-sm sm:text-[1rem]" class="text-sm sm:text-[1rem]"
style=" margin-left: 8px; margin-bottom: 15px; list-style-type: disc;" style="margin-left: 8px; margin-bottom: 15px; list-style-type: disc;"
> >
<div class="flex flex-col items-start"> {item?.text}
<div>{item?.text}</div>
<div class="mt-1.5 inline-block">
<span>Stocks:</span>
<a <a
href={`/stocks/${item?.ticker}`} href={`/stocks/${item?.ticker}`}
class="badge rounded-sm ml-1 text-blue-400 sm:hover:text-white" class="inline-block badge rounded-sm ml-1 px-2 m-auto text-blue-400 sm:hover:text-white"
>{item?.ticker}</a >{item?.ticker}</a
> >
</div>
</div>
</li> </li>
{/each} {/each}
</ul> </ul>
{:else} {:else}
<Infobox <Infobox
text="There are no major upcoming earnings to report today but you can check the earnings calendar for a complete list." text="There are no major stock market news available yet."
/> />
{/if} {/if}
</Card.Content> </Card.Content>