POTUS Tracker

= 0 ? "grown" : "declined"} by = 0 ? "text-[#00FC50] before:content-['+']" : "text-[#FF2F1F]"}"> ${data?.getData?.marketPerformance[sectorDict[selectedSector]]["Inauguration"] ?? "n/a"}%.`} />
Select Sector {#each updatedSectorList as sector} {#if sector === "S&P500" || data?.user?.tier === "Pro"} (selectedSector = sector)} class="cursor-pointer hover:bg-primary" > {sector} {:else} goto("/pricing")} class="cursor-pointer hover:bg-primary" > {sector} {/if} {/each}
{#if activeIdx === 0}

Official Presidential Schedule

{#each Object?.entries(groupedByDate) as [date, items], indexA}
{date} {#if items?.at(0)?.changesPercentage}
S&P500 {items.length > 0 ? items?.at(0)?.changesPercentage : "n/a"}%
{/if}

{#each items as item, indexB}
{#if indexA === 0 && indexB === 0} {/if}
{item.time_formatted} {item.location !== null ? `- ${item?.location}` : ""}
{item.details}
{/each}
{/each}
{:else}

Executive Actions

{#each Object.entries(groupedOrders) as [date, items], indexA}
{date} {#if latestInfoDate(date)} {/if}

{#each items as item, indexB}
Avatar

{item?.title}

{item?.sentiment}
{#if item.description.length > 150} {expandedDescriptions[item.title] ? item.description : truncateText(item.description)} {:else} {item.description} {/if} Source
{/each}
{/each}
{/if}