diff --git a/src/lib/images/newsletter.png:Zone.Identifier b/src/lib/images/newsletter.png:Zone.Identifier deleted file mode 100644 index 85d14576..00000000 --- a/src/lib/images/newsletter.png:Zone.Identifier +++ /dev/null @@ -1,4 +0,0 @@ -[ZoneTransfer] -ZoneId=3 -ReferrerUrl=https://imagecompressor.com/ -HostUrl=https://imagecompressor.com/download/14lao7515uhpe1k0/file_og81ulb1md5krt1k6agg91hav1/Screenshot%202025-01-16%20112032-min.png diff --git a/src/lib/images/trump-avatar.jpeg b/src/lib/images/trump-avatar.jpeg new file mode 100644 index 00000000..7b1612d1 Binary files /dev/null and b/src/lib/images/trump-avatar.jpeg differ diff --git a/src/lib/images/uw_x_stocknear.jpg:Zone.Identifier b/src/lib/images/uw_x_stocknear.jpg:Zone.Identifier deleted file mode 100644 index a45e1ac4..00000000 --- a/src/lib/images/uw_x_stocknear.jpg:Zone.Identifier +++ /dev/null @@ -1,2 +0,0 @@ -[ZoneTransfer] -ZoneId=3 diff --git a/src/lib/images/visual_mod.webp:Zone.Identifier b/src/lib/images/visual_mod.webp:Zone.Identifier deleted file mode 100644 index 92c07c11..00000000 --- a/src/lib/images/visual_mod.webp:Zone.Identifier +++ /dev/null @@ -1,4 +0,0 @@ -[ZoneTransfer] -ZoneId=3 -ReferrerUrl=https://useast-pb.stocknear.com/_/ -HostUrl=https://useast-pb.stocknear.com/api/files/_pb_users_auth_/9ncz4wunmhk0k52/profile_icon_kof6ixwefd4c1_n9a6Ljm6rj.webp?token= diff --git a/src/routes/potus-tracker/+page.svelte b/src/routes/potus-tracker/+page.svelte index aa0221a9..716651f6 100644 --- a/src/routes/potus-tracker/+page.svelte +++ b/src/routes/potus-tracker/+page.svelte @@ -1,13 +1,33 @@ = 0 ? "grown" : "declined"} by - ${data?.getData?.returnSince ?? "n/a"}%.`} + ${selectedSector} has ${data?.getData?.marketPerformance[sectorDict[selectedSector]]["Inauguration"] >= 0 ? "grown" : "declined"} by = 0 ? "text-[#00FC50] before:content-['+']" : "text-[#FF2F1F]"}"> + ${data?.getData?.marketPerformance[sectorDict[selectedSector]]["Inauguration"] ?? "n/a"}%.`} /> -

- The President is in {(data?.getData?.city === "Washington" || - data?.getData?.city === null - ? "the White House" - : data?.getData?.city) ?? "n/a"} -

- -
- -
- - Map data © OpenStreetMap - - -

- Official Presidential Schedule -

-
-
- {#each Object.entries(groupedByDate) as [date, items], indexA} -
-
+
+ + + + + + + Select Sector + + + + {#each updatedSectorList as sector} + {#if sector === "S&P500" || data?.user?.tier === "Pro"} + (selectedSector = sector)} + class="cursor-pointer hover:bg-primary" > -
- {/if} -
- -
- {#each items as item, indexB} -
-
-
+ {sector} + + {:else} + goto("/pricing")} + class="cursor-pointer hover:bg-primary" + > + {sector} - - - - - + + + + {/if} + {/each} + + + +
+
- {#if indexA === 0 && indexB === 0} - - {/if} +
+ + + + {#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.time_formatted} - {item.location !== null - ? `- ${item?.location}` - : ""} + + {item.details}
- - - {item.details} - -
- {/each} -
- {/each} -
-
-
- -
-

- Executive Actions -

-
-
- {#each Object.entries(groupedOrders) as [date, items], indexA} -
-
- {date} - {#if latestInfoDate(date)} - - {/if} + {/each}
-
- - {#each items as item, indexB} + {/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 - - - - - - - - {#if indexA === 0 && indexB === 0} - - {/if} -
- -
- {item.title} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
+
- -
- {item?.sentiment} -
- - - {#if item.description.length > 150} - {expandedDescriptions[item.title] - ? item.description - : truncateText(item.description)} - - {:else} - {item.description} - {/if} - - - - Source - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {/each} -
- {/each} + {/each} +
+ {/each} +
+ {/if} +
+ +