goto(`/politicians/${item?.id}`)} class="odd:bg-[#27272A] sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] bg-[#09090B] border-b-[#09090B] cursor-pointer">
- |
+ |
- 
+
+
- {item?.representative?.replace('_',' ')}
- {item?.party}
+ {item?.representative?.replace('_',' ')}
+ {item?.party}
|
-
+ |
{new Date(item?.transactionDate)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}
|
-
+ |
{item?.amount}
|
-
+ |
{#if item?.type === 'Bought'}
Bought
{:else if item?.type === 'Sold'}
@@ -355,7 +312,7 @@ isLoaded = true;
- 
+
{item?.representative?.replace('_',' ')}
diff --git a/src/routes/etf/[tickerID]/congress-trading/+page.svelte b/src/routes/etf/[tickerID]/congress-trading/+page.svelte
index 2216af69..762925f4 100644
--- a/src/routes/etf/[tickerID]/congress-trading/+page.svelte
+++ b/src/routes/etf/[tickerID]/congress-trading/+page.svelte
@@ -1,7 +1,6 @@
@@ -179,14 +136,14 @@ isLoaded = true;
-
-
-
-
-
-
- Congress Trading
-
+
+
+
+
+
+
+ Congress Trading
+
@@ -213,7 +170,7 @@ isLoaded = true;
- Buy/Sell
+ Buy/Sell
{buySellRatio?.toFixed(3)}
@@ -230,7 +187,7 @@ isLoaded = true;
- {buySellRatio?.toFixed(2)}
+ {buySellRatio?.toFixed(2)}
@@ -240,7 +197,7 @@ isLoaded = true;
- Dem/Rep
+ Dem/Rep
{partyRatio?.toFixed(3)}
@@ -257,7 +214,7 @@ isLoaded = true;
- {partyRatio?.toFixed(2)}
+ {partyRatio?.toFixed(2)}
@@ -269,7 +226,7 @@ isLoaded = true;
- |