diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte index 2dbc6563..e76e11f1 100644 --- a/src/lib/components/Footer.svelte +++ b/src/lib/components/Footer.svelte @@ -53,7 +53,7 @@
  • - Sponsor Us ❤ + Support Us ❤
  • diff --git a/src/lib/store.ts b/src/lib/store.ts index d39cabba..a547efdc 100644 --- a/src/lib/store.ts +++ b/src/lib/store.ts @@ -106,6 +106,7 @@ export const corporateLobbyingComponent = writable(false); export const fomcImpactComponent = writable(false); export const scoreComponent = writable(false); +export const goBackToPostId = writable(""); export const strategyId = writable(""); export const articleId = writable(""); diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 711ac89c..fb59013b 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -78,68 +78,7 @@ function convertTimestamp(unixTimestamp) { return formattedDate; } -//const tickerGraphName = data?.getDashboard?.retailTracker?.map(item => item?.symbol) || []; -//const tradedList = data?.getDashboard?.retailTracker?.map(item => item?.traded) || []; -/* -const optionsGraph = { - animation: false, - grid: { - left: '2%', - right: '3%', - bottom: '6%', - top: '0%', - containLabel: true - }, - xAxis: { - type: 'value', - splitLine: { - show: false, // Disable x-axis grid lines - }, - axisLabel: { - show: false // Hide x-axis labels - }, - axisTick: { - show: false // Hide x-axis ticks - }, - axisLine: { - show: false // Hide x-axis line - } - }, - yAxis: { - type: 'category', - data: tickerGraphName, - inverse: true, - axisTick: { - show: false // Hide x-axis ticks - }, - axisLabel: { - color: '#fff' // Set the y-axis label color to white - } - }, - series: [ - { - data: tradedList, - label: { - show: true, - position: 'inside', - formatter: function(params) { - return abbreviateNumber(params?.value,true); - }, - fontWeight: 600, - }, - type: 'bar', - showBackground: true, - backgroundStyle: { - color: 'rgba(180, 180, 180, 0.2)' - }, - itemStyle: { - color: 'white' // Bar color is white - } - } - ] -}; -*/ function latestInfoDate(inputDate) { // Convert the input date string to milliseconds since epoch @@ -205,10 +144,10 @@ onMount( async() => { -
    +
    {#if data?.user?.tier !== 'Pro' || data?.user?.freeTrial === true} -
    +
    @@ -453,7 +392,7 @@ onMount( async() => { - +
    @@ -493,7 +432,7 @@ onMount( async() => { - +
    diff --git a/src/routes/community/+page.svelte b/src/routes/community/+page.svelte index 9833d7b5..44c99255 100644 --- a/src/routes/community/+page.svelte +++ b/src/routes/community/+page.svelte @@ -1,7 +1,7 @@ @@ -294,14 +297,6 @@ $: { - - - - - - - - @@ -329,7 +324,7 @@ $: {
    -
    +
    {#each Array(5) as _} {/each} @@ -364,12 +359,12 @@ $: {
    - {#if !loading} + {#if isLoaded} {#each posts as post}
    -
    +